473,544 Members | 1,791 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.
3
359
thread by: Shelly | last post Mar 20 '06 by: Thomas 'PointedEars' Lahn
Hi, I really don't know javascript, though I can understand existing code. I know java, php, etc. Here is my question, and I assume it is simple. I have a page. On this page I have element_1 and element_2, among others. I have a button, which when clicked I want to go to: www.someotherpage.com?elem1=aaa&elem2=bbb where aaa is the...
1
359
thread by: jayparaiso | last post May 11 '06 by: Randy Webb
Hi! How to validate check box and drop down menu in one form?
1
359
thread by: FAQ server | last post Aug 30 '07 by: Dr J R Stockton
----------------------------------------------------------------------- FAQ Topic - How do I generate a random integer from 1 to N? ----------------------------------------------------------------------- Method Math.random() returns a value R such that 0 <= R < 1.0 ; therefore function Random(x) { return Math.floor(x*Math.random()) } ...
1
360
thread by: trpost | last post Apr 21 '06 by: VK
I am using javascript to call a hidden applet and am getting a javascript error "java.lang.Exception: java.lang.NoClassDefFoundError: org/apache/commons/httpclient/HttpClient" If I comment out the alert statement then the applet loads fine, but when I make a javascript call it looks like it needs to be aware of the classpath. I have all my...
1
360
thread by: jason.tadeo | last post Oct 31 '06 by: RobG
I am newer to the javascript scene and i have figured out how to check if a input box is empty or not but i like display the error right next to the text box. I am not sure but i think it can be done by making a div tag right next to it being empty. Anyone have an examples of code or anything i would greatly appreciate it. here is what i...
1
362
thread by: none | last post Jul 23 '05 by: John Postlethwait
I wonder how the "TIMELINE Peterson disappearance timeline"'s scrolling text is done. I thought it is an iframe, but I can not find it http://msnbc.msn.com/ID/6385208/ Instead, I got this JS http://www.msnbc.com/d/ip/peterson_timeline/data.js which has no iframe
5
364
thread by: David | last post Jul 23 '05 by: David
I'm having a bit of difficulty sorting images named in sequential order. image1.jpg
1
364
thread by: avanti | last post Dec 29 '06 by: gautam.verma
HI, I have an ASP page with some Javascript code. The JS has several functions and only some of them work. Here is part of the code: <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server" id="Head1"> <title>Title</title> <Ctrl:stylesheets id="Css1" runat="server" /> <script language="javascript" type="text/javascript">
2
365
thread by: Keon | last post Jul 23 '05 by: Keon
Hoi I want to include a html page (include.html) in a iframe on another page (start.html). After a while (about 1 min) include.html must change to another page . But the start.html may not been refreshed. Is this possible? So yes how? Greeting Keon
1
365
thread by: vncntj | last post Jul 23 '05 by: Richard Cornford
i want to enable one listbox and disable the other depending on if i check winter_gala (checkbox) here is my code. <script type="text/javascript"> function check() { if (document.forms.winter_gala.checked=true) { document.forms.winter_gala.young_friend_list.disabled=true
6
365
thread by: bortolaso | last post Jul 23 '05 by: John Doe
hi all, i already write a question on regular expression but i do a mistake in problem definition. I'm loking for a regular expression that delete the \r\n from HTML TAG like the follow example: from: <P class=try> try try </P>
1
365
thread by: jim whitaker | last post Sep 27 '06 by: Ian Collins
I followed this tutorial, and I have it working. http://www.webpasties.com/xmlHttpRequest/ My question is this: After an AJAX form receives it's data from the server, how could i then submit (post) that data to another php file? IN other words, An order entry system where the ajax fills the form with shipping address. Then there are a few...
2
366
thread by: isis | last post Jul 23 '05 by: Saint Jude
I am wonder do pc windows have any script alike apple scipt. - just drop files in the folder then automatic to photoshop?
4
366
thread by: Doug | last post Jul 23 '05 by: Doug
Hi, Does anybody have a good deal of knowledge in AJAX? I am trying to learn this new stuff but cannot find a good place to start. Even when i search for that term in Google. As far as I know, AJAX is nothing new. It is just a combo of technology namely Javascript, CSS, HTML ... combine with server side technology like Servlet or PHP. ...
1
367
thread by: paul.andrei | last post Jul 23 '05 by: Stewart Gordon
eof thanks
3
368
thread by: Vladimir Veytsel | last post Jul 20 '05 by: Dr John Stockton
Please find at the link below samples of JavaScript programming techniques along with several useful fully-functional JavaScripts. http://www.davar.net/INTERNET/JAVA-SCR/JAVA-SCR.HTM JavaScript Frequently Asked Questions JavaScript programming code patters Extract navigation bar generation (function) Local control of modification date...
3
368
thread by: Jo | last post Aug 19 '05 by: Jo
Hi, I'm new to using Javascript, can anyone suggest any useful references and guides. I tried 'Javascript for Dummies' but found it totally unhelpful!
2
368
thread by: Johannes Skov Frandsen | last post Oct 12 '07 by: Randy Webb
Disregard this post... I only what to see if I can Post
1
369
thread by: eric whalen | last post Aug 31 '05 by: Randy Webb
http://paydotcom.com/r/23/vipinfo/12562 *** Sent via Developersdex http://www.developersdex.com ***
1
369
thread by: FAQ server | last post Dec 29 '06 by: Dr J R Stockton
----------------------------------------------------------------------- FAQ Topic - Why does 1+1 equal 11? or How do I convert a string to a number? ----------------------------------------------------------------------- Javascript variables are loosely typed: the conversion between a string and a number happens automatically. Since plus (+)...
1
369
thread by: FAQ server | last post Sep 8 '07 by: Evertjan.
----------------------------------------------------------------------- FAQ Topic - Why are my rollovers so slow? ----------------------------------------------------------------------- Images are cached by the browser depending on the headers sent by the server. If the server does not send sufficient information for the browser to decide...
1
370
thread by: java.inet | last post Apr 23 '07 by: VK
internally how to run java script means where to start the evaluation in the <head > tag or <bodytag and how to run
1
371
thread by: nihad.nasim | last post May 24 '07 by: Dr J R Stockton
Is it possible to enter or call c++ code blocks from javascript functions? If so, how? Thanks
7
372
thread by: William | last post Feb 6 '06 by: Thomas 'PointedEars' Lahn
function saveText( scroll_list, t_area, listToBeUpdated ) { var updated = new Option(); updated.value = t_area.value; updated.text = t_area.text; for(var i = 0; i < scroll_list.options.length; i++) { if( scroll_list.options.selected ) { scroll_list.options.text = updated.value; scroll_list.options.value= updated.value; break; }
2
373
thread by: applemonster100 | last post Jul 23 '05 by: Lee
I have an xml string which I need to remove certain <error> node from. I can recognise the <error> nodes I want to delete from their attributes. For example, I need to replace the following with a blank string : <error errorid="11" itemid="10">The card name is mandatory.</error> I can't use a regular expression which matches the whole...

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.