aspose file tools*
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
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.

 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Getting Select Value In Firefox