Interface

HTMLOptionElement

HTMLOptionElement

View Source js/lib.dom.d.ts, line 3392

Members

boolean

# defaultSelected

Sets or retrieves the status of an option.

View Source js/lib.dom.d.ts, line 3395

HTMLFormElement | null

# form

Retrieves a reference to the form that the object is embedded in.

View Source js/lib.dom.d.ts, line 3400

number

# index

Sets or retrieves the ordinal position of an option in a list box.

View Source js/lib.dom.d.ts, line 3405

string

# label

Sets or retrieves a value that you can use to implement your own label functionality for the object.

View Source js/lib.dom.d.ts, line 3410

boolean

# selected

Sets or retrieves whether the option in the list box is the default item.

View Source js/lib.dom.d.ts, line 3415

string

# text

Sets or retrieves the text string specified by the option tag.

View Source js/lib.dom.d.ts, line 3420

string

# value

Sets or retrieves the value which is returned to the server when the form control is submitted.

View Source js/lib.dom.d.ts, line 3425