473,544 Members | 801 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.
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
1
3,369
thread by: chris | last post Jul 20 '05 by: Josh Surber
The MS Help file pages use a nice dhtml effect which allows the user to click on a keyword which then causes the paragraph to expand with the definition of that word (in green). The source code for these pages shows that a javascript file called ExpCollapse.js is being referenced. But I haven't been able to replicate the function. Has anyone...
8
4,069
thread by: Jonas Daunoravicius | last post Jul 20 '05 by: Peter
The subject pretty much sums up what I need to do. Here is what I have so far, but still can't figure out how to get it working: <script language="javascript" type="text/javascript"> function fillForm() { // split the query string into pieces var qs = location.search.substr(location.search.indexOf("?")+1); qs = qs.split("&"); alert(qs);...
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,...
1
23,641
thread by: Daniel Andersen | last post Jul 20 '05 by: Peter
Hi, Does anyone here know of a way of tracking the window that launched a popup window besides using window.opener? The problem i'm having is that the popup window submits a form within itself before wanting to return the data to the launching page, and unfortunately in IE5 window.opener is undefined after the form is submitted, so i need...
3
3,353
thread by: james | last post Jul 20 '05 by: james
Hi. I have a problem with a little javascript to open up a pop-up window in my search results page. I get a debug pop-up every time the page loads, and I've gone over the code several times, and I can't figure out what's wrong. I'm a newbie, though, so that doesn't mean much. I'm doing a lot of work on the page now, so the code's kind of...
2
1,511
thread by: Stephan Hauduc | last post Jul 20 '05 by: Evertjan.
What I think is the best way for me to do what I want to do is have a text file which contains the following, the number of slides at the top, then the time lengths that each file should be displayed for in the slideshow in sequence. SO what I'd like to do is have a slide show that displays files named as slide1.jpg, slide2.jpg to...
1
3,401
thread by: mark.reichman | last post Jul 20 '05 by: Grant Wagner
I have text fields in my form with the same name. I can reference the value of these fields in IE 6.0 like with document.form.field.value. However, netscape 4.7 seems to croak. Why? What is the equivalent way to get the value in netscape 4.7.
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.
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...
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.
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
14
8,302
thread by: nagual | last post Jul 20 '05 by: Mark Szlazak
Can anyone please help me with a regular expression to test for Valid International Email Addresses? Also, which version of javascript (1.2 ?) is needed for same? Thanks. Regards.
5
2,009
thread by: headware | last post Jul 20 '05 by: headware
Hi, I have a general design questions. I'm making a site that has two frames, one on the left for navigational menus and one on the right for displaying the contents of the site. I want some of the menu items on the left to expand dynamically and display sub items when the user clicks on them. So they might show something like this: item...
5
10,170
thread by: NickC | last post Jul 20 '05 by: NickC
OK so not a JavaScript question but don't know where else to ask and judging from some of the knowledge I have seen here in the past I reckon someone here might just have some idea. When the Web Service URL is called from IE it just returns the wdsl and does not actually run the Web service. Is there a way of creating a dummy Web page...
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);...
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
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
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...
2
9,421
thread by: Mark Szlazak | last post Jul 20 '05 by: Mark Szlazak
All files that I will be referring to are in the same file folder. I need my javascipt file to write or save the contents of a textarea to other local files. This is for local use only on one system. I have no problem doing this in NN4 and IE. However, I have problems with nn7 and moz1.4 even when I add this to my prefs.js files: ...
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
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
7
7,017
thread by: Anna | last post Jul 20 '05 by: DU
Hi all. I have a (hopefully) pretty simple question. I open a link in a new window: <a href="http://www.somewhere.com/some.hml" onclick="window.open(url,null,'resizable=yes,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,width=600,height=400');">Link</a> The page I am opening is not mine. I want to edit the...
12
3,372
thread by: MP Multimedia | last post Jul 20 '05 by: Richard Cornford
Hello everyone, I need help. I'm using a hierarchical menu made in javascript. When I used it in a one frame page, it came out fine. But now I need to change my page to 3 frames: a top frame, a left frame and a right frame. The menu is on the top frame and when hovering the categories, the sections appear under the left and right frame....
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'...

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.