473,554 Members | 2,713 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
2,802
thread by: Lizzy | last post Jul 20 '05 by: Dom Leonard
I have an internet application which has a progress bar show whenever the customer is requesting data from the server. This progress bar is coded to work in both Netscape 4.75 and above and IE 5.0 and above. The progress bar code is written in javascript in an external js file (progressbar.js). The web screen is in a seperate jsp file...
3
2,539
thread by: Griff | last post Jul 20 '05 by: Jim Ley
Hi there About this business of embedding HTML comments in Javascript. Everyone tells me that JavaScript parsing ignores any line starting with <!-- but that I need to protect any occurrence of --> with a Javascript comment //. My browser (IE 6) seems to handle <!-- as described, but also seems
1
2,368
thread by: Dan | last post Jul 20 '05 by: DU
Hi, Is the method 'insertAdjacentText' supported by netscape? I 'm afraid of not. Does anyone know the equivalent method? By the way, does it exist something like a equivalence tabel between IE and Netscape? It would be very handy. Thanks in advance Dan
2
2,748
thread by: bbxrider | last post Jul 20 '05 by: bbxrider
i'm trying to pass a form object to a function to validate the forms user input when i try to access a forms properties-like .elements there is no response from the function and no error msg, i get a screen flash and if i try to preset an element property before calling the function like: this.firstName.optional=true; the code after that...
2
14,278
thread by: Eric Pickup | last post Jul 20 '05 by: DU
I'm having a problem with the following html (I've simplified it down to a simple test case). Could anyone point out why Mozilla is having problems with this (I've tried so many variations that I can't think of any more). In the actual code I have an if statement to handle IE but I need the code to work in Mozilla and IE. <HTML> <BODY>...
1
4,355
thread by: Raymond Dunton | last post Jul 20 '05 by: Geoff Tucker
I am new to Javascript programming. I have a page with four small pictures. I want to click on a picture and have it open up larger in a popup window. this is what I am currently using to do this: <html> <!-- Generated by AceHTML Freeware http://freeware.acehtml.com --> <!-- Creation date: 7/24/2003 --> <head>
1
2,830
thread by: Alexandre Flament | last post Jul 20 '05 by: Evertjan.
I would like to know what change on textarea : - when user change content with keyboard - when user drag/drop some text to textarea By what change, I mean for example, this kind of event : - at offset 153 - user add this text "azerty" Is there a way to do it with ECMA ? or perhaps with specific extension of mozilla or IE ?
2
7,621
thread by: Christian Kusenbach | last post Jul 20 '05 by: Christian Kusenbach
Hello group! I've a problem with JavaScript and IMG-Objects. On my webpage I use a big image and several small images. If you click on a small image, it executes a JavaScript to change the source of the big image to the source of the small image. It's working fine, but on some browsers (I use IE 6.0.2800.1106) the image doesn't change...
2
21,560
thread by: Mike Solomon | last post Jul 20 '05 by: Mike Solomon
I have written a script that adds a row to a table and moves the values from the initial line into the new line What I am now trying to do is add a button in each new row that will allow me to delete the row created I am having no luck doing this if i add a button using createelement and assosiate code with it the code executes when i...
2
3,366
thread by: Simon | last post Jul 20 '05 by: Simon
Newbie question: How can I use a TextRange object to search for text, and then highlight it? The enclosed example works, until you dismiss the alert (done just to show the results). I would rather the text stayed selected! I guess it is because the TextRange object r goes out of scope? or summat? Any ideas? Cheers,
4
4,952
thread by: RelaxoRy | last post Jul 20 '05 by: Lasse Reichstein Nielsen
Is there any way to stop someone getting their mouse and selecting text on a page (without making the text an image of course). Is it possible to trap and stop click-and-drag functionality from the mouse? Bit of a stranger request but can it be done? :) Cheers Ryan
1
2,442
thread by: Keegan Alex | last post Jul 20 '05 by: Janwillem Borleffs
Hello, I'm writing a form where it puts a red asterisk next to required fields, and depending on a few Yes/No questions, the asterisks will change. This works great in IE but not in Netscape or Mozilla. Can someone give me pointers on what's going wrong? Below is a sample of the code for one entry. I stripped out all the formatting...
4
6,679
thread by: Mike | last post Jul 20 '05 by: Mike
I am having a problem when a field is spaces being undefined. I wasn't sure if the problem was Excel or Javascript, so I thought I would post here first. The users are able to select from a drop down list either a pre-existing Excel spreadsheet or a blank spreadsheet where they can enter the data. When they click the Store button I am using...
4
2,084
thread by: Al Sashun | last post Jul 20 '05 by: Richard Cornford
Hi There, I'm not sure if this is the right place, but I'm after a script or program that will provide me with site visitors email address's, the only reason being my clients would like to see who their potential customers are & whose just being nosey. If anyone can help could you please mail me if possible. Thanks for your time ! ...
8
3,938
thread by: Wayne Davis | last post Jul 20 '05 by: Dr John Stockton
I want to password protect the continued running of a section of javascript. What I need is for the user to see a login field, they type a code in, if it is good, the script continues, if bad, it stops dead. I would like to base the password on julian date so some example numerical calcs (so I can see how they are structured in Java) would...
13
1,902
thread by: Chris Smith | last post Jul 20 '05 by: Lasse Reichstein Nielsen
'Morning, Within the next few months, I'm going to embark upon a comparatively rather large base of JavaScript code to be called from a web browser environment. Not too awfully huge, but probably between 10K and 15K LoC. Having seen only the kinds of scripts that support interactive web pages, I'm dreading trying to stretch JavaScript...
15
7,261
thread by: Peter Bremer | last post Jul 20 '05 by: Lasse Reichstein Nielsen
Hi all, I've written this little piece of code, which doesn't seem to work in Mozilla 1.5. I haven't tried it on other Gecko browsers, but I've found some indication that Netscape 6+ has the same problem. Internet Explorer 6 and Opera 7 have no problems with it. <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.1//EN'...
1
1,281
thread by: Xerxes | last post Jul 20 '05 by: Xerxes
Hi, I have a form that upon clicking "Submit" emails the contents to a recipient. Is it possible to have a form printed as well on the recipient's printer? (in case they are too pooped to click on the Print button on their Outlook!!) Thanks.
1
1,582
thread by: Jeff Johnson | last post Jul 20 '05 by: DU
Hi Everybody, I have a function that works great in IE but fails in NN. Would someone please give me some insight as to how to correct this: function init(){ var oFrame = parent.frames; if (typeof(oFrame.divSummary) != 'undefined'){***** fails here! updateContent(oFrame);
2
16,550
thread by: splish | last post Jul 20 '05 by: splish
Hello, I have the following problem: An Iframe exists inside a page (that has content exceeding the height, therefore scrollbars kick in) - normal stuff. When I want to use anchor references inside the Iframe the parent page is affected also, in that it jumps to the top of the iframe, as though there were an anchor at that point.
4
1,958
thread by: cyril | last post Jul 20 '05 by: Laurent Bugnion, GalaSoft
Hello I have a pb with NS 4.7 I put <EMBED NAME="Monobjet" ....> and i can't get the object with "document.Monbjet". Why ? I use <embed> than <applet> because NS4.7 has a pb with the cache.
2
6,891
thread by: Crescionini Sascha | last post Jul 20 '05 by: Lasse Reichstein Nielsen
hello ng is there a way to get the selected item-label (not value) of a dropdown-element using js? any idea? greets sascha
1
5,178
thread by: Marco Dieckhoff | last post Jul 20 '05 by: HikksNotAtHome
Hi! I'm trying to use a combination of windows.print() followed directly by history.back(). The desired effect is to print the shown window and go back to that one before. I'm presenting a user a database result screen that's only generated to be printed.
4
3,809
thread by: Charlie Cosse | last post Jul 20 '05 by: Charlie Cosse
Asymptopia Crossword Builder is a JavaScript application. A robust GUI allows users to submit arbitrary length lists of key-hint pairs which can be regenerated an unlimited number of times until the user wants to accept the layout. The dhtml interface provides a configuration panel, key- generating panel (i.e. answer sheet), puzzle-generating...
5
6,784
thread by: Sumaira Maqsood Ali | last post Jul 20 '05 by: kaeli
hi, I wanted to know if OnClick can be used outside forms also? like can plain text have the OnClick event handler associated with it? thanks Sumaira

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.