Select

Example

1

Description

Properties

Property Name Description
disabled whether the control is disabled
form form containing the control
length number of options offered by the control
multiple whether multiple items can be selected
name name of the control
options array of all options in the control
selectedIndex index of the selected option in the control
size number of options visible at once in the control
type returns "select"

Methods

Method Name Description Values
remove() Removes the option at the given index from the Select element.