15,697 Topics

Member Avatar for
Member Avatar for newbie14

Dear All, Can you visit this link [url]http://183.78.169.54/v3/addTab.php[/url] then press the tab Drive Licenses and then press the pick button for the license expiry date and you will notice the calendar appear at the bottom. The problem if I put my codes in tab style then only this problem occur …

Member Avatar for newbie14
0
107
Member Avatar for skald89

What I thought this code would do is, if i typed non-numbers it would continue prompting me until I finally input a number which it then will output the word "one" on the page. What it does is if I type a number first it outputs the word "one" on …

Member Avatar for skald89
0
105
Member Avatar for divyakrishnan

Hi.. I have a project to display PDF files by clicking a hyper link. The PDF are huge in size and it will take a long time to load. I want to show a message like "Loading Please wait" on that loading time.. Any body have idea about this?Help me.... …

Member Avatar for twiss
0
122
Member Avatar for prem2

Dear all, I have done a sample program using ajax . But onreadystatechange not working. If i specifies "false" in the open method. Example program : [code] <html> <head><title>Sample Ajax File</title></head> <script type="text/javascript"> function ajax_function(){ var httpReq = new XMLHttpRequest(); httpReq.onreadystatechange=function(){ alert(httpReq.readyState); } httpReq.open("GET","http://localhost/ajax/sample.php?name=prem&Id=1",false); httpReq.setRequestHeader("Content-type","application/x-www-form-urlencoded"); httpReq.send(null); } </script> <body> <form …

Member Avatar for macgurl70
0
2K
Member Avatar for Aeterna

I'm writing a little script thats a countdown timer. What i want to do is be able to set a length of time like 3, 5, 7 days etc. So i will have [CODE] var dif = 3; var now = new Date(); var end = new Date(now.getFullYear(), now.getMonth(), now.getDay() …

Member Avatar for Airshow
0
172
Member Avatar for manu555

[CODE] <script language="javascript"> function add() { var divTag = document.createElement("div"); divTag.id = "div"; //alert(divTag.id); //divTag.setAttribute("align","center"); //divTag.style.margin = "0px auto"; var j=1; divTag.className ="dynamicDiv"; var v1 =document.getElementById('ttlBoxes').value; var v2 =document.getElementById('boxno').value; var d1=parseInt(document.getElementById('ttlBoxes').value); var d2=parseInt(document.getElementById('boxno').value); if(v1!=""&& v2!="") { if(d2<d1) { divTag.innerHTML ='<br /><table width="101%" border="0" align="center" cellpadding="5" cellspacing="1" class="entryTable" ><tr ><td width="150" …

Member Avatar for manu555
0
178
Member Avatar for prvnkmr194

Hello to all Actually I am on web project with html and java script and my problem is that I have send feed back form as E mail, is there any though which can I send My feed back as an email without using php or asp because I know …

Member Avatar for prvnkmr194
0
273
Member Avatar for Arthi Raman

hi, I have created a drop down box and have added the data from my database. Now i have repeated values inside drop down since its being retrieved from database directly.I want those repeated values to be removed. For instance, My drop down values are retrieved from database called fruits …

Member Avatar for Arthi Raman
0
97
Member Avatar for ispeakbinary

[CODE] <script type="text/javascript" src="js/jquery-1.3.2.js"></script> <script type="text/javascript" src="js/jquery-1.3.2-vsdoc.js"></script> <script type="text/javascript"> $(function() { $("#Button1").click(function() { $.getJSON("ticketPriceInArray.js", function(json) { var ticketPriceArray=[json.tickets[0].price, json.tickets[1].price, json.tickets[2].price, json.tickets[3].price, json.tickets[4].price, json.tickets[5].price]; alert(json.tickets[0].type); var inputWord =$("#keyword").val(); if (inputWord=="A"){$("#result").text(ticketPriceArray[0]);} if (inputWord=="B"){$("#result").text(ticketPriceArray[1]);} if (inputWord=="C"){$("#result").text(ticketPriceArray[2]);} if (inputWord=="D"){$("#result").text(ticketPriceArray[3]);} if (inputWord=="E"){$("#result").text(ticketPriceArray[4]);} if (inputWord=="F"){$("#result").text(ticketPriceArray[5]);} }); }); }); </script> [/CODE] Here is "ticketPriceInArray.js" [CODE] { "tickets":[ …

Member Avatar for twiss
0
176
Member Avatar for Tenaciousmug

I am trying to add a border around the base they select and then when they select another one, I want the previous one to go away and then high light that one. This is my PHP code that outputs the bases: [code]$gender = $_GET['gender']; // SQL Injection here? $sql …

Member Avatar for Tenaciousmug
0
137
Member Avatar for sacredgrim

Hey all I have an issue with building a list of images. Below is the structure i would like to build. basically i am trying to write a script for xsl in xslt or Javascript to read all files in a folder(will only have images in, so no checking will …

0
84
Member Avatar for WaleedaaN

hello,, i have create wysiwyg for me i add youtube icon to add video tube this code is [CODE]function insertyoutube() { var video = '<object width="500" height="300"><param name="allowscriptaccess" value="always"></param><embed src="[B]ADD HERE AFTER REPLCE[/B]" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="560" height="340"></embed></object>'; window.opener.insertHTML(video, qsParm['wysiwyg']); window.close(); }[/CODE] i need when i put youtube link like …

Member Avatar for WaleedaaN
0
153
Member Avatar for Tenaciousmug

I'm trying to SELECT * FROM table WHERE gender='whatever they clicked on'; WITHOUT refreshing the page. I am showing the gender table and then after the click a gender, I hide that table and then show the next, etc. It's working fine, but whenever I start using the AJAX to …

Member Avatar for vibhaJ
0
94
Member Avatar for branding4you

I made a mysql table on my website with backend that allows me to upload images of affiliate companies i deal with. I used this script and it works. I now have need to add URL to these. As you can see i select the directory the iamges are in …

Member Avatar for urtrivedi
0
187
Member Avatar for Pinchanzee

I've got lists of links which change order when you click the "most" or "least" buttons, have a quick look at it, easier to understand: [url]http://pinchweb.com/browse/[/url] The problem is, I see a lot of repeated code, which seems pretty inefficient. There's 4 filters - leastrec (least recent), mostrec, leastpop (least …

Member Avatar for Airshow
0
240
Member Avatar for umeshMCA

hi i would like to know that how to create dropdown menu in mysite. anyone help me? thanks umesh daiya

Member Avatar for stbuchok
-1
89
Member Avatar for agam360

I have test my app before, and It worked I have managed to post to my page wall. But now after I have changed the code and removed the permissions, and logged in again it didn't work and trowed this exception: Exception: 200: The user hasn't authorized the application to …

Member Avatar for agam360
0
271
Member Avatar for divyakrishnan

Hi... I want to enter more than one date onto textfield array with same name. The javascript I have used is shown below.It works with text field without array. [U]calender.html[/U] [CODE] <script src="CalendarPopup.js"> </script> <SCRIPT LANGUAGE="JavaScript" ID="js1"> var cal1 = new CalendarPopup(); cal1.showNavigationDropdowns(); </script> <form name="newenquiry" method="post" > <input maxLength="10" …

0
64
Member Avatar for sunny124

Hi guys, I am trying to get contents of a page into a popup div when user clicks on the View sample plan link in the table with the id='plans' below. I will change the contents of junk.php once I can get it working. Thanks to everyone who can help …

Member Avatar for sunny124
0
2K
Member Avatar for shailaja mohite

Hi, I am create web application. In which i am using gridview in this gridview i am using textbox for template field and maskededitextender for each textbox.In this application binding data. maskededitextender for each textbox. webpage is very slow. and how to write javascript function maskededitextender for time. help me …

0
54
Member Avatar for gloosemo

I'm trying to make an AJAX request to my localhost server. Here is the code for the page that is requested, ajaxresponsecontent.php. The content is queried from a MySQL database then encoded into JSON using PHP. [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" …

0
55
Member Avatar for altarek

Hello I have two textfield and dropdown, i want add date to the first textfield and when change dropdown menu add year or month dynamically to the second text-field and I used this code but it give NaN/NaN/NaN [CODE] function calDate() { var dateArr = document.getElementById('date_field1').value; var date1 = new …

Member Avatar for stbuchok
0
184
Member Avatar for MDanz

what i'm trying to do is get the contents of the textarea, which the id is 'reply'. then onclick of a button, a popup div with id 'layer1' displays the contents of the textarea. i tried below but it comes up blank. i haven't included the pop up/button code, thats …

Member Avatar for jusvin85
0
4K
Member Avatar for altarek
Member Avatar for stbuchok
0
37
Member Avatar for davidthedruid

Hi I should need the code/syntax to create an countdown timer that should count down from now to (24hour)19:00 12-06-2011 do any one know how to do this?

Member Avatar for twiss
0
99
Member Avatar for peter_carlos

I am using : appache 2.2.11 php :5.3.0 MySql 5.1.36 The problem is that I am there are some script not working nether on IE8 nor on firefox 4 in offline But these scripts are working fine on IE 8 using online !! And these scripts work offline on other …

Member Avatar for peter_carlos
0
440
Member Avatar for peter_carlos

I am using : appache 2.2.11 php :5.3.0 MySql 5.1.36 The problem is that I am there are some script not working nether on IE8 nor on firefox 4 in offline But these scripts are working fine on IE 8 using online !! And these scripts work offline on other …

Member Avatar for peter_carlos
0
2K
Member Avatar for kaizerkiller

Hi Daniweb peeps! Does anyone knows where can I download a quicklook button like from this site? [url]http://www.gap.com/browse/category.do?cid=8655[/url]

Member Avatar for kaizerkiller
0
132
Member Avatar for dragon@dragon64
Member Avatar for kiran33

for ($rows = 0; $rows < $totrow; $rows++) { echo "<tr>"; { echo "<td width=7% align=center bgcolor=#D4BFFF >" .$sr; echo "</td>"; ?> <td width=40%> <select name="book<?php echo $sr;?>" style="width:80%"> <option value="-1">-----Select Book-----</option> <?php $qr_title=mysql_query("select * from book where Dels='N' order by Bk_nm asc"); while($row_title=mysql_fetch_array($qr_title)) { ?><option value="<?php echo $row_title['Bk_id'];?>"<?php if($row_title['Bk_id']==$ad) …

Member Avatar for twiss
0
98

The End.