473,839 Members | 1,375 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Javascript Forum

JavaScript web scripting language - Ask questions about JavaScript development, jQuery, Vue, React, the DOM, cross-browser scripting, event handling, OOP, cookies, client-side form validation, built-in objects like Date, String, Array and Object, performance and more.
10
2,839
thread by: mint89 | last post Feb 8 '08 by: acoder
This is probably a rather easy fix, but I know next to nothing about java. I am attempting to create a page that has two rows of buttons, and I wanted to have some sort of mouseover effect on them. Therefore, I found a program at free-buttons.org that will make one row of buttons at a time. It uses tables and javascript to make each horizontal...
1
1,138
thread by: mekalai82 | last post Feb 8 '08 by: Randy Webb
HI i need help i have two select option.. for example State list and city list . in country option i have listed tamilnadu,kerala,andra,karnataka like that.... in city select option i have listed chennai,kalicut,bangalore,hydrabad. and so on if i select tamilnadu from the state option the city option will default select is chennai... if...
6
1,553
thread by: pbd22 | last post Feb 8 '08 by: Douglas Crockford
Hi. I can't seem to get any values from the below string. I have tried myJSONObject.slides, myJSONObject.slides, myJSONObject.slides.1, etc. I can't get it to work. Is it because the NAMES are numbers? Can you get this to work? Thanks.
3
18,593
Death Slaught
thread by: Death Slaught | last post Feb 7 '08 by: gits
This code was written by acoder serveral (139) days ago. So I decided to post it. function play() { embed = document.createElement("embed"); embed.setAttribute("src", "soundfile.wav"); embed.setAttribute("hidden", true); embed.setAttribute("autostart", true); document.body.appendChild(embed); }
10
23,408
thread by: sanou | last post Feb 7 '08 by: iceman81
Hi does anyone know if the following is possible? I have an excel spreadsheet with values that i need transferred to a certain website's form. for instance, i have a value in excel spreadsheet xyz that i wanted to transfer to a data entry box on a webpage that is concurrently open. basically i want to make it simple enough that at a push of a...
2
4,281
thread by: chad_walters | last post Feb 7 '08 by: Dr J R Stockton
Does JavaScript have a mechanism to provide the equivalent of Java's Double.doubleToLongBits() and the reverse operation Double.longBitsToDouble? http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Double.html#doubleToLongBits(double) Thanks in advance for any help. Chad
3
1,371
thread by: jamthoyoung | last post Feb 7 '08 by: Joost Diepenmaat
Hi I have noticed a several plugings (jquery mask and the dojo date widget) auto correct user data if it is entered improperly. Or they delete the data when the user tabs out of the input. Is this normal behaviour for apps heavy with javascript? It seems dangerous. A defect was opened in one of my apps (validation on the server side)...
1
1,772
thread by: kshetarpal | last post Feb 7 '08 by: gits
I have the following code for converting string to ascii but I would like to add the values. The following code does not add the values; var str = owner.value var code strLength = owner.value.length for (i =0;i<strLength;i++){ code = str.charCodeAt(i); alert(code);
2
1,101
manuelgk
thread by: manuelgk | last post Feb 7 '08 by: manuelgk
Hello everybody, yesterday I have troubles with my js. It executes very well in pages that don't have a "window.onload" function, even if they have another script but, if the Web page contain a js call like this, my script simply doesn't work. I read in the Web that if I have another script with the same function ("window.onload"), they colapse...
1
2,187
thread by: sunsoffun | last post Feb 7 '08 by: gits
Im trying to hide a menu column using jscript. Its works as required in firefox but ie.. a big no no. Please see the code below.... <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <TITLE></TITLE> <script language="JavaScript" type="text/javascript">
4
2,392
thread by: DNK2007 | last post Feb 7 '08 by: DNK2007
Hi all Look at the following code <html> <head> <script type="text/javascript"> document.location="http://www.gmail.com"; alert(document.location); </script>
2
2,121
thread by: dohko8 | last post Feb 7 '08 by: dohko8
Hi I would like to know how to load .js files conditionally? Suppose I have a Drop down box that is populated dynamically with A B C. When I select Element A I want it to load a .js file, B a different .js file and C a different .js. The js. files are not simply A.js, they are a reference to an URL address where they are stored. <select...
2
1,341
thread by: pedrogameiropinto | last post Feb 7 '08 by: acoder
IE seems to behave badly with iframe reloading in javascript. The code below works fine in firefox but doesn't in IE. The code loads some document into an iframe whenever we press the button. The question is how do I make this code behave in IE? <script type="text/javascript"> function GetFile(url) {...
4
1,422
thread by: jbu311 | last post Feb 7 '08 by: acoder
Let's say I split my website into two halves. The left half is text, and the right side is an image. I know I can get onmouseover effects in javascript, but is there way to have it so that when a user rolls his mouse over the image on the right, to make text appear on the left side of the webpage? If it can't be done, is there another way to do...
3
5,556
thread by: rag84dec | last post Feb 7 '08 by: acoder
Hi, i want to change the hidden elemtn value in the javascript. the name of the filed will have to be formed in the javascript. like this var temp="name"+1; document.temp.value="newname";
1
1,058
thread by: rejoybhaskar | last post Feb 7 '08 by: gits
hi, is it possible to identify the internet bandwidth used by the remote system so that if it is high we can provide them a flash site else a low image content site. thanks n advance
3
4,102
thread by: agarwalsunitadhn | last post Feb 7 '08 by: kunal pawar
hi.... I want the current time in my web page like the windows timer which is continiuesly ruuning without refreshing. Is it possible with ASP.net? I am using Visual Studio 2005 with c# . If yes then please suggest me that how can i do that? Thanks in advance for ur suggestions.
2
1,504
thread by: amolrwaghmare | last post Feb 7 '08 by: acoder
hi, is anybody know javascript code for calculatiing values from two textboxes n put it in another????
3
8,128
kovik
thread by: kovik | last post Feb 7 '08 by: acoder
Normalizing Event Triggers in JavaScript For those of you who are too lazy to keep up with the standards of the current JavaScript versions, this will suffice: elem.onmouseup = SomeFunction; However, that method has a lot of limitations. Only one function per event trigger No control over bubbling/capturing Dynamic addition and removal...
5
5,358
thread by: rosaryshop | last post Feb 7 '08 by: gits
I'm working a jewelry/rosary design web site at http://www.rosaryshop.com/rosariesAndKits2.php. As the user makes selections, it updates images of various parts, giving them a preview of the finished item. The preview resides within a div and is simply a series of <br>-separated images. Simple html. The system is working fine with FireFox and...
6
2,146
thread by: Joaquim Amado Lopes | last post Feb 7 '08 by: Evertjan.
Greetings. Is there any way, in Javascript, to put in 2 variables the width and height of a picture, given the filename and without the picture being displayed in the webpage? Thank you, Joaquim Amado Lopes
1
1,634
thread by: SagarDoke | last post Feb 7 '08 by: acoder
How can i establish a connection between javascript and mysql database?
11
1,561
thread by: rohitchawla | last post Feb 7 '08 by: rohitchawla
I am trying to get the values of all the child elements from a specific element function getnodes(elem) { for (i=0; i<elem.childNodes.length; i++) { alert(elem.childNodes.nodeName); alert(elem.childNodes.nodeType);
1
1,312
thread by: lizarraga | last post Feb 7 '08 by: acoder
I have a table this table sep 2007 = 1.7890 oct 2007 = 1.8952 nov 2007 = 1.8970 in the field (date) sep 2007 the problem is and and other field get 1.7890
9
5,272
thread by: semomaniz | last post Feb 7 '08 by: acoder
I have a form where users will input phone numbers. The way it is set up is with three text boxes. First for phone prefix( 314) then second for the middle number (546) and finally third for last four digits (4563). What i am being asked to do is the cursor need to jump to second text box as soon as user inputs 3 digits on the first text box. and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.