This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes Getting Select Value In Firefox Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Getting Select Value In Firefox" Watch "Getting Select Value In Firefox" New topic
Author

Getting Select Value In Firefox

Luke Shannon
Ranch Hand

Joined: Sep 30, 2004
Posts: 239
This works fine in IE, but not in Firefox.

Any ideas why?



Thanks,

Luke


Luke
SCJP
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
document.all is IE only

you need to use

document.formName.elementName

Eric
Luke Shannon
Ranch Hand

Joined: Sep 30, 2004
Posts: 239
Yep, that got it. Thanks.

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Getting Select Value In Firefox
 
Similar Threads
Using Javascript to Select an Item in a Select List
select an item in dropdown box.
How to get values from a dropdownlist
getting and setting value in a combo box..VIA javascript
call Action from javascript