15,113 Topics

Member Avatar for
Member Avatar for sivak

i am using javascript for validations purpose...i want to know all the functions in javascript ... can any one tell me is there any link to free download javascript book....

Member Avatar for peter_budo
0
87
Member Avatar for kurraboy

Hi there, I have a problem in FireFox, whereby a Javascript function only works if I make the first line of code an alert() statement. If I take out the alert() statement, the following code doesn't work. Any ideas ? The alert() statement I am talking about, is the first …

Member Avatar for essential
0
133
Member Avatar for Rustynails

Hey there everyone, hoping I could get a little insight on my problem. When calling my function friend_list(), I'm getting an error that I do not understand nor know how to fix. Here is the code.. [code] function AsyncRequest(){ this.check=function(){ var xmlHttp=null; try{xmlHttp=new XMLHttpRequest();} catch(e){ try{xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");} catch(e){xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");} } …

Member Avatar for ShawnCplus
0
104
Member Avatar for veledrom

Hi, When try to validate the textbox generated by innerHTML, it returns "Undefined" for the textbox. Therefore, i cannot validate it. Thanks [code] <html> <head> <script type="text/javascript"> function validateForm () { if (document.form1.textContactname.value.length == 0) { alert ("ERROR"); return false; } return true; } function createInvoice () { document.getElementById("hiddenPayment").innerHTML = …

Member Avatar for veledrom
0
112
Member Avatar for yassar

Hi, I am trying to create a playlist using JCarousel. I am trying to create playlists changing with tabs. When the page loads for the first time playlist works correctly, but when I click on a tab and change the contents of the playlist when i scroll playlist goes out …

0
74
Member Avatar for mansterdom

I'm attempting to read in a user's weightlifting history from a database using a php file(viewworkout.php) to first run the query and then a js file to get the results from the query. the script below is all i have so far, and it [code] <script type="text/javascript"> <?php include("viewworkout.php"); echo …

Member Avatar for essential
0
102
Member Avatar for h2onet

I am trying to display/hide different div tags when a checkbox is checked and when a California is selected as a drop-down value. I have it working when the check-box is selected and choosing the drop-down value, but not when the drop-down is selected and clicking the check-box. I hope …

Member Avatar for h2onet
0
105
Member Avatar for sivak

i am using javascript for validations......i want to know all the function in javascript ...can any one tell me the link for free download javascript book plz

Member Avatar for Ramy Mahrous
0
53
Member Avatar for Capsi

Hi, I am using prefunction attribute of autocomplete. The javascript gets executed at the time of page load. But the requirement is to get executed just before displaying the values retrieved from ajax autocomplete. Plz reply..

Member Avatar for wireless2007
0
65
Member Avatar for millsy007

I have a menu div that I have styled so that is always visible on my page. When a user clicks a menu item they are taken to that section of that page using an anchor withing the page but the menu remains visible/constant to the left of the screen …

Member Avatar for essential
0
160
Member Avatar for HonorPC

Hello, I am looking for a user.js file to use with Opera to fix a YouTube issue. When you log into YouTube and click the yellow "Upload" button, you are brought to [url]http://www.youtube.com/my_videos_upload[/url], where the "Upload Video" button is nonfunctional in Opera unless the page is scrolled or reloaded. If …

0
46
Member Avatar for dnsoft

Hi, I use a code to display the counter result and to refresh that value I actually refresh all the page, I'd like to refresh the script only without refreshing the full page but I don't know how to modify the code to make it work. Here's the actual code …

Member Avatar for hitdrumhard
0
111
Member Avatar for jonpb

Hello, I looked all over the forums here but couldn't find anything on this: I'd like to have a js random image (1 out of 4) load each time a user visits my page. Along with that image, I'd like a specific quote and sub heading (text) to appear -the …

Member Avatar for essential
0
278
Member Avatar for EJM

Hi... Can some one point out as to why my code does not work? I've created some cookies like this: [code] var gotCookies = get_cookie(cookie_name); var exdate = new Date(); exdate.setDate(exdate.getDate()+10); if(gotCookies != null) { //var gotCookie = document.cookie.split("; "); //var old_selection = gotCookie[0].split(", "); var new_selection = cbId; document.cookie …

Member Avatar for essential
0
80
Member Avatar for rajeesh_rsn

Hi I had 2 div layers in my php page. One of them is dragable ( suppose div B ). I need to fade out all the items except div B. Because of that I can view the div A clearly inside div B. Please help me with an advise …

0
63
Member Avatar for praveen_dusari

hi all, when i want delete items i will show a alert to users like are you sure you want delete .now i want a X symbol or danger symbol in that alert box ,i dont have any idea how to do this any ideas! thank you

Member Avatar for praveen_dusari
0
59
Member Avatar for Designer_101

Hi I have this login box that drops down once clicked. I would like it so if the user doesnt click one of the fields within lets say 8 seconds then the box minimizes automatically. Here is what I have: [CODE] <script language="javascript"> function makevisible() { document.getElementById("dropform").style.display="block"; setTimeout("minimize()",4000); } function …

Member Avatar for Designer_101
0
112
Member Avatar for newboi

Hello, I have a form inside a form. The problem is that IE does not submit the parent form for some reason... It works very well in FF and chrome see [url="http://www.daniweb.com/forums/thread110758.html"]same problem[/url] Any help appreciated.

Member Avatar for ~s.o.s~
0
143
Member Avatar for lolodede

i have external javascript [code=JavaScript]var titles = new Array(); titles[0] = "Mr"; titles[1] = "Mrs"; titles[2] = "Miss"; titles[3] = "Ms"; titles[4] = "Dr"; var courseNum = new Array(); //this array is in parallel with the courseName array. courseNum[0] = "3503"; courseNum[1] = "3508"; courseNum[2] = "3633"; courseNum[3] = "3639"; …

0
44
Member Avatar for danielpataki

Hi Everyone! I want to make a nice floating bar at the bottom of the screen, which hovers about 15px from the bottom. I am doing this to make a site look good in small and big resolutions. The minimum height for the bar to hover is 600px about, if …

Member Avatar for essential
0
86
Member Avatar for konczuras

Hello, I'm new to javascript, and need some help, why the following code refuses to do anything. [CODE]<html> <head> <style type="text/css"> .btn { background:URL("elemer.jpg"); width:200px; height:100px; display:block; } .btn.sfhover, .btn:hover { background-image:none; } </style> <script type="text/javascript"> sfHover = function() { var sfEls = document.getElementById(„btn”); sfEls.onmouseover=function() { this.className+=” sfhover”; sfEls.onmouseout=function() { …

Member Avatar for konczuras
0
161
Member Avatar for Theeba

Hi Everyone, I am using javascript to validate a form: [url]http://www.cultureisaweapon.org/pals/hospital/contract.html[/url] the errors show up as necessary; however, when someone does not enter a required field, and the errors show up; the form displays itself at the middle - is there any way, a function I can use, to display …

Member Avatar for essential
0
68
Member Avatar for inartistic

Hi, I have a site which lists the basic information of CDs and allows the user to click a link to see detailed information regarding each CD. I've been doing that for a long time by just putting the detailed information in a DIV and using a script to toggle …

Member Avatar for essential
0
120
Member Avatar for lordx78

[code=html] <html> <head> <script type="text/javascript"> function validateFloat() { var o = document.frmInput.txtInput; switch (isFloat(o.value)) { case true: alert(o.value + " is an float") break; case false: alert(o.value + " is not an float") } } </script> </head> <body> <form name="frmInput"> Enter something: <input name="txtInput" size="4"> <input type="button" value="Validate" onclick="validateFloat()"></input> </form> …

Member Avatar for mail2saion
0
414
Member Avatar for bimaljr

Hi I have a site in Joomla CMS. I want to redirect my old url : [QUOTE][url]http://www.brcreation.com/index.php?/Softwares/Tool-to-Convert-Files?itemid=167&mid=167[/url][/QUOTE] to : [QUOTE][url]http://www.brcreation.com/Softwares/Tool-to-Convert-Files?itemid=167&mid=167[/url][/QUOTE] As you see above, I want to remove "index.php?/" from my site url. I have created a script for this but there are some problems. It doesn't redirect to correct …

Member Avatar for essential
0
162
Member Avatar for vedmack

Hi Im trying to submit a form , which holds another form tags inside (i must do it this way) the problem is that this doesn't work on IE, while it works perfect on Firefox the button seems to have no effect on the page... its like it is not …

Member Avatar for newboi
0
269
Member Avatar for sreya.n

Hi all, i want to do pagination using jquery...I am not good in jquery but i would like to learn...so can u please send me the code... Thanx in advance

Member Avatar for sreya.n
0
99
Member Avatar for rajeesh_rsn

Hi I need to make a layer drag able in my html page. Please any one give me a tutorial for doing that please Thanks Rajeesh

Member Avatar for almostbob
0
48
Member Avatar for veledrom

Hi, Javascript doesn't work if i do this way. How can i solve it? Is that because i echo it. Thanks [code] <?php echo "<html><head> <link type=\"text/css\" rel=\"stylesheet\" href=\"cssFile.css\" /> <script type=\"text/javascript\" src=\"javascriptFile.js\"></script> </head><body>"; ?> <form name="form" action="added.php" method="post" onsubmit="return validateForm();" style="float:left"> <input type="text" name="ID" size="20" tabindex="1" /> <input type="submit" …

Member Avatar for veledrom
0
139
Member Avatar for veledrom

Hi, I have a loading bar gif to be displayed initially, until main image (1MB) is loaded in my web page. How can i do it? Thanks

Member Avatar for veledrom
0
70

The End.