14,053 Topics

Member Avatar for
Member Avatar for wazakiller

there is an error somewhere in my code, but i cant work it out. could one of you give it a quiq look? <html> <head> <script language="JavaScript"> function bereken() { j = parseInt(fx.s.value) p = parseInt(fx.j.value) s = parseInt(fx.p.value) while (j > 0 ) { j = j-1 r = …

Member Avatar for wazakiller
0
95
Member Avatar for Sadun89

Dear Friend..... I want to make web site that it want to plugging with facebook.....:?: In other words, If i type & submit something,I want to publish in Facebook wall (if i can publish in selected person's walls its very worth) it like what the youtube done after some video …

Member Avatar for twiss
0
76
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
106
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
104
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
121
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
171
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
174
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
270
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
96
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
172
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
136
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
152
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
91
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
183
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
227
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
88
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
269
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
61
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 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
45
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
183
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
96
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
131
Member Avatar for dragon@dragon64
Member Avatar for scarlettmoon

Hi ~ I am trying to keep two children windows open at the same time as the parent. Umfortunately while opening the link to the second child window the first one minimizes. Is there a way around this? I have tried focus() on the second and not the first - …

Member Avatar for stbuchok
0
258
Member Avatar for WolfShield

So, I am looking into web creation and have started making a site just to see how the coding of websites work and how the files link to each other. So, what I am trying to do is when the page loads it prompts "What is your name?" with a …

Member Avatar for WolfShield
0
4K

The End.