473,543 Members | 2,003 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.
1
12,428
thread by: Robert Scheer | last post Jul 20 '05 by: Grant Wagner
Hi. I have a function to submit the form when my user types any character on a textbox. I call the function on the keyup event of the textbox. The function submits the form and set the focus on the textbox, after the submit. The form submits ok, but after the submit the focus won't return to the textbox. Can anyone help me to solve that...
1
1,711
thread by: nightsaber | last post Jul 20 '05 by: Michael Stemper
<script language="JavaScript"> <!-- hide me var the_number = prompt("how many words (3-5 is good)?", "4"); var the_string = ""; var a_word; for (loop = 0; loop < the_number; loop++) { line_number = loop + 1;
2
8,014
thread by: GiSmo | last post Jul 20 '05 by: GiSmo
hello I'm french so I hope I hunderstand your answers ! I'm begginer in javascript and I would like to do this : select all elements of one selection list (html) with a javascript fonction could you help me ? thanks lot !
1
9,283
thread by: Jo Claes | last post Jul 20 '05 by: Grant Wagner
Hi, We want to make it possible for our Users to link a printer to a document type. Doing that we need to know how we can load the installed printers on the client system and how we can autoselect an printer using JavaScript Thanks in advice Jo
1
4,900
thread by: Alan Greig | last post Jul 20 '05 by: Dom Leonard
Hi All, I am trying to set up a child window that displays a web cam view. I have successfuly created the page and everything works fine except if I click on a hyperlink and my webcam page is the only one open, I lose the webcam page with the contents being replaced by the page of the clicked hyperlink. Is there anyway I can stop the...
1
9,746
thread by: simon taylor | last post Jul 20 '05 by: Philip Ronan
Hello and thanks for reading my posting. My question is ...... Is it possible to change the mouseover action ? so if we have an image thus <IMG id="splot" onmouseover= "window.status ='forward'; return false;" Title=forward onmouseout ="window.status=''; return false;" src="Images/Navigate.gif" > and I have a javascript function...
6
1,988
thread by: viator | last post Jul 20 '05 by: Phil N
Hello everybody. I am a student doing my masters in Comp. Sci. Will some explain to me why it seems completely two worlds when taking about DHTML in NN and IE. Is there any way to write truly portable webpages using DHTML ofcourse.
3
3,125
thread by: Andrus Moor | last post Jul 23 '05 by: VK
To reproduce: run the following code in IE 6 and right-click in table. Observed result: Error : invalid argument at line var row = table.insertRow(0); Expected result: new row must be inserted. Any idea how to add new row to beginning of data-bound table ?
1
16,853
thread by: Ryan Cox | last post Jul 20 '05 by: Peter
I'm submitting a form using the following code and sometimes, it doesn't get submitted. I have Tomcat 4.1.24 on the backend and I am trying to grab some extra information from the server for my current page. I do this by submitting a form and setting the target as an iFrame on my page. It works like 85% of the time. The other 15% of the time,...
15
65,732
thread by: Code Monkee | last post Jul 20 '05 by: DU
How can the toolbar and menubar be hidden in IE? When opening the window via javascript I can specify 'toolbar=no,menubar=no', which works fine. However if the window already exists how can I remove them? If the browser is Netscape I can use javascript: window.toolbar.visible = false; window.menubar.visible = false; but IE produces the...
1
8,229
thread by: Neil Morris | last post Jul 20 '05 by: Lasse Reichstein Nielsen
Hi I have the following code that lists first names of people who's surnames are 'Morris'. What I am trying to do is search for first names that don't start at the beginning of the line ie. have the '' in the regExp object, but 'Neil' is matched even though it is next to(?) the start of line char(?) or should I say 'Neil' is the first 'word'...
2
9,300
thread by: Simon Fletcher | last post Jul 20 '05 by: DU
Hello there, I need a "Close Window" script ( onLoad.Close.Window() ), however i need the script so it don't come up with this annoying window: "This window is trying to close" window. Is there a script to stop this happening and close the window anyway? Simon Fletcher
1
8,475
thread by: Mark Wayne | last post Jul 20 '05 by: Grant Wagner
Is is possible to use TreeMap in the javascript <SCRIPT> portion of HTML? If so, how? Thanks, mark
4
11,730
thread by: Todd Anderson | last post Jul 20 '05 by: J K
Any body know of a javscript that will play a sound.wav file repeatedly onLoad? Thanks in advance for your help.
2
11,114
thread by: chris hughes | last post Jul 20 '05 by: chris hughes
Can anyone please tell me how to create a javascript that I can place in any page that will disable all the links or just change all the hrefs to # Many Thanks Chris Hughes
2
1,868
thread by: Zhichun Pu | last post Jul 20 '05 by: Zhichun Pu
Hi guys, I can't seem to get anything returned from functions. If I use the <script src = ... > command, nothing works. But if I define the functions locally within the file, then it works. Something simple: function abc() { return 99; }
4
2,326
thread by: Spijon | last post Jul 20 '05 by: cwdjr
Seems opera can not work normally with javascript, does anyone knows how to fix it? Thanks in advance.
1
12,104
thread by: yair | last post Jul 20 '05 by: yair
hey all i have a page with a table, and when the user doubleclicks a row in it, a window is opened. The problem is, if he doubleclicked a text in the row, it's becoming selected. what i want is to disable the selection upon doubleclicking, but no the selection at all (so that the user can still just use the mouse to select some text in the...
2
3,686
thread by: cv | last post Jul 20 '05 by: cv
Hi all, How do I copy from clipboard to any control of my page? Any help wud be appreciated. TIA, cv
1
1,732
thread by: Jason | last post Jul 20 '05 by: Chris45
Hi, I would like to use the pop up menu bar in my web page, would anyone tell me where the resource is? Thanks. Jason
4
18,833
thread by: Atz | last post Jul 20 '05 by: Lasse Reichstein Nielsen
<a href="" onmousedown="setTimeout('status=\'Hide\'',5000)" onmouseover="window.status='Hide'; return true"> send link </a> I use this for hidding link path in status bar. This is working fine but if u click "fast" many times on same link you can easy read path link and variables. I try to change timeout time but no effect. Is there a...
3
38,768
thread by: user | last post Jul 20 '05 by: user
hi there has anyone of you writte a function to encode html from like '&' -> '&amp;' and likes to share it with me.. or can anybody give me a hint how to set up something like that. cheers me. ralphie
1
4,145
thread by: Wee | last post Jul 20 '05 by: Richard Cornford
String.value.length and String.value doesn't work together in a single function in IE. I've no problem running either of this, but not together at the same time. var myMessage=document.Formcalc.splitword.value; document.writeln(myMessage); var total_length=document.Formcalc.splitword.value.length; document.writeln(total_length);...
2
1,928
thread by: Hugo | last post Jul 20 '05 by: DU
Hi all, Well I don't know if it's possible, but I would like to able to read the content of a html file that I've opened in a new window, but do this from the parent html file. I think that maybe this isn't at all possible. But if anybody as an idea it would be great. The code is bellow thx
2
16,454
thread by: madmike | last post Jul 20 '05 by: madmike
Hi, I have an iframe with some javascipt that gets the mouse x and y position like this: //inside the iframe's onmousemove call back funciton xMousePos = window.event.clientX + document.body.scrollLeft; yMousePos = window.event.clientY + document.body.scrollTop; This gets the x and y position inside the iframe. But what I want is

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.