selected Property
Sets or returns a Boolean that represents whether the option in the list box is the default option selected.
expression.selected
*expression * Required. An expression that returns one of the objects in the Applies To list.
Remarks
The selected property can be one of the following String values.
Value | Description |
---|---|
false |
Item is not selected as the default option. |
true |
Item is selected as the default option. |
Applies to | FPHTMLOptionElement Object | IHTMLOptionElement Object