Availability: |
| |||
Property/method value type: | Option object | |||
JavaScript syntax: | IE | myOptionsArray.item(anIndex) | ||
IE | myOptionsArray.item(aSelector) | |||
IE | myOptionsArray.item(aSelector, anIndex) | |||
Argument list: | anIndex | A zero-based index into the collection | ||
aSelector | A textual value that selects all matching objects |
Because the OptionsArray is a sub-class of the generic Collection object, all the normal things you can do with a collection are possible with an OptionsArray belonging to a Select object.
See also: | Collection.Item() |
Prev | Home | Next |
OptionsArray.add() | Up | OptionsArray.length |
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. |