Share via


OPTION HTML Object

Send Feedback

The OPTION object denotes one choice in a SELECT element.

Properties

Property Data type Access Description
defaultSelected Boolean Read-only Retrieves whether the option is selected by default (by using the presence of the SELECTED attribute in the OPTION tag). The only possible values are True or False.
index Long Read-only Retrieves the zero-based index of the OPTION object in the options collection of the SELECT object.
selected Boolean Read/write Sets or retrieves whether the OPTION object is selected. The only possible values are True or False.
text String Read/write Sets or retrieves the text string specified by the OPTION tag.
value String Read/write Sets or retrieves the values of the OPTION tag.

Requirements

Pocket PC: Pocket PC 2000 and later
Smartphone: Smartphone 2002 and later
OS Versions: Windows CE 3.0 and later

See Also

Internet Explorer Mobile HTML Objects

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.