aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes JavaScript not working in Netscape Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "JavaScript not working in Netscape" Watch "JavaScript not working in Netscape" New topic
Author

JavaScript not working in Netscape

charu latha
Ranch Hand

Joined: Aug 20, 2002
Posts: 67


if the javascript that i am using in my JSP page. Incidentally i have two fields as you can see. I am calling the function and the function seems to be called correctly as i get the alert message. However my other alert does not seem to be working nor is the location.href. Any idea on why and if i have done something wrong please point it out.

Thanks
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Quick glance by me:

document.FormName.ElementName.value

not

FormName.elementName.value

IE allows you to get away with it by their document model...

Eric
Yuriy Fuksenko
Ranch Hand

Joined: Feb 02, 2001
Posts: 413
Just wondering where is that alert?
However my other alert does not seem to be working

Also, by "not working", do you mean you get JavaScript error?
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
I saw this too:

document.location.href

not

location.href

also it would be better if you showed us the gernerated source code and not the source code with the server side tags in it. Do this by viewing the source code on the browser.

Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JavaScript not working in Netscape