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
3,154
thread by: Robert Oschler | last post Jul 20 '05 by: HikksNotAtHome
When a web page I created is bookmarked, for example using Ctrl-D or Right-Click->Add To Favorites in IE, is there a way to intercept and/or change the URL that gets assigned to the bookmark? Any JavaScript samples that show how to do this? thx -- Robert Oschler
2
3,982
thread by: Kuntal Joisher | last post Jul 20 '05 by: Daniel
I have a frameset -- which has 3 HTML pages. its something like ----------------------- | main | | | -----------------------
1
1,496
thread by: Mark Constant | last post Jul 20 '05 by: Atrax
I want to try and make a menu using javascript and DHTML. I want the menu to be horizontaly placed on top of the webpage. When I move the cursor over it a popup menu comes up. Sort of like what you can find on the first page of Micrsoft.com near the top. But I want the menu to have a more transparent blue color. Is that possible? Also where...
1
3,386
thread by: Craig Lister | last post Jul 20 '05 by: Daniel
I've made a small chat page for a website that I made as a hobby... I didn't want to use Java, as alot of users can't/don't know how to download and install this. I know it's easy, people. But some people just don't get it. I didn't want to use flash, because ... I have no idea how. And it has to be a web page based chat, so that anone...
2
14,263
thread by: fish | last post Jul 20 '05 by: Philip Ronan
Hi, I have an HTML page with a FORM and some input fields. On the fields I wish to do validation as the punters change the field values. If they get it wrong, then I tell them and then wish to put the focus back to the offending field. ( It works if a use an 'onblur' event but not an 'onchange' )
6
3,075
thread by: Ingmund Sjåstad | last post Jul 20 '05 by: Dom Leonard
Trying to make a dropdown menu. I working nice in IE6 but when I try a link in Netscape 7 nothing happens. Can anybody help me? <html> <head> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>JS</title> </head>
2
2,818
thread by: Graham | last post Jul 20 '05 by: Grant Wagner
I have a variable which can be in the format "mm:ss" or "hh:mm:ss". I would like to extract the total number of seconds from this. Ie "01:30" would be 90 seconds. Thanks in advance !
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
2,061
thread by: Robert Mark Bram | last post Jul 20 '05 by: Douglas Crockford
Howdy All! I am trying to write a very brief comparison of the Date and Math objects in terms of instance v static objects. What I have below is my best so far. Any criticisms or suggestions are most welcome! Date is an instance object. You use Date by creating instances of it - you call methods on those instances. - you change data to...
1
1,650
thread by: Debbie | last post Jul 20 '05 by: kaeli
Hello all! I was hoping that someone would be able to give me a suggestion or some place to go for a resource... I'm trying to create a new site that uses frames. But I also want the top frame to be able to display menus (I have that part) without having the menus cut off by the next frame. Everything that I have read or found here has...
3
41,054
thread by: Russell Campbell | last post Jul 20 '05 by: Lasse Reichstein Nielsen
Posting again, since my first attempt never appeared: In the onClick method of a listbox, I am attempting to retrieve the selectedIndex property. The listbox is set up to allow multiple selections. Unfortunately, the property returns -1. Clicking again returns the proper result. Yet when I do the same thing on the same listbox after...
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....
3
10,373
thread by: Alex Shi | last post Jul 20 '05 by: Littleboy
Hello, I need an Exit popup page that when a visitor is on leaving my site it will popup. With "onUnLoad" it can work in this way but it also does something more that I don't want. When a visitor click links to pages within my site the popup will also open. I don't want this. What I need is that only when a visitor is leaving my site but...
8
10,604
thread by: JohnS | last post Jul 20 '05 by: JohnS
Hello: Can a javascript file that is included with a webpage with SRC="filename.js" be read and/or saved by a user? I thought not, but now I wonder.... Thanks John.
2
34,084
thread by: FN | last post Jul 20 '05 by: Dr John Stockton
I'm new to javascript and internet research is turning up weird things. I just want to add 5 seconds to a date value. this = new date() // I believe this sets the time, too, right? //now how do I add 5 seconds or even 5000 seconds to the variable 'this'?
4
1,839
thread by: Peter Morris | last post Jul 20 '05 by: Lasse Reichstein Nielsen
Is there a debugger I can use for finding errors in JavaScript?
2
2,263
thread by: Dave | last post Jul 20 '05 by: Dave
After much general searching, a JS newbie asks: can anyone point me to where I can find out how to build a page (including form) using Javascript? The reason I'd want to do this is because the page html is becoming quite large due to form element attributes for each row of a large form. I'm under the impression that I could condense this by...
7
1,776
thread by: Francois | last post Jul 20 '05 by: Jim Ley
Salut - Hello, I'm trying to comply with W3C HTML 4.01 Strict standards BUT one JS code is causing me troubles. The parser returns an error of "having a closure tag </a> with no other tag open before". This is weird because the Js is OK but now I need to change it to comply with W3C standards AND accomplish the same simple thing. Can you...
1
2,332
thread by: Andrew V. Romero | last post Jul 20 '05 by: Andrew V. Romero
I have a script that I am working on for an intranet tool and in this script I have a form, which when submitted the onSubmit command calls calculate(). In this calculate function, I have it do some calculations and write out a new document using document.write(). One of the lines it writes is (the whole script is at the bottom of this...
1
2,808
thread by: Cooper | last post Jul 20 '05 by: Richard Hockey
Hello, i have a form with TEXT, SELECT etc, elements. Simple, i suppose two TEXT (name: T1 and T2). If a user insert a bad value, it display a error message and turn back at form. My problem is: I am in T1, i insert a bad value... is displayed a alert, i click on OK and prompt go in T2. Now, i want to do that if i am in T1 after that i click...
2
31,561
thread by: john | last post Jul 20 '05 by: John
I'm looking to have a form where a drop down list contains my full range of options even when some are not currently available. Is it possible to produce a select box where some items could show differently (eg greyed out) and not be selectable? All suggestions welcome!! Thanks John
2
3,656
thread by: Tole | last post Jul 20 '05 by: Tole
hi all, i've got a selcetbox (multiple) which is filled by javascript. only problem is that i have aprox 1000 options to add to that select, and that adding lasts for 5-6 seconds. Even select.length = 0 (on filled element) lasts for few seconds. ok. i have large amount of data to preload, and i also do some operations on that data, but...
1
1,915
thread by: Rom | last post Jul 20 '05 by: Randell D.
Hi. I was wondering if anybody knows if its possible to change the appearance of a window OnLoad. Like, without the toolbars and menu bars. The thing is that i am opening this window from a cgi script, and i need it just to show an html without all the other stuff. Hope u can help me. Thanks
3
10,824
thread by: FN | last post Jul 20 '05 by: Evertjan.
I know how to do an HTML content redirection (e.g. in 5 seconds you'll be redirec to...) but... I have a javascript countdown timer. It goes for a few hours. At the end, I want to dispaly "times up", wait 10 more seconds, and then redirect to another page. Is there a javascript way to do this, and would it work going back to IE4 and...
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...

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.