Netscape 6.0 implements this in a DOM-compliant manner. That means the object type is an HTMLCollection object. This is a generic object type and there are no special methods or properties added to it. The things you might have done with an OptionsArray object are not going to work.
MSIE appears to implement this as a NodeList although you cannot tell because it doesn't make a constructor or prototype available for you to inspect.
See also: | Collection object, Option object, Select object, Select.options[] |
Property | JavaScript | JScript | N | IE | Opera | NES | ECMA | DOM | CSS | HTML | Notes |
---|---|---|---|---|---|---|---|---|---|---|---|
length | 1.0 ![]() | 1.0 ![]() | 2.0 ![]() | 3.02 ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ReadOnly |
Prev | Home | Next |
OptionElement object | Up | OptionsArray.add() |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |