HTMLSelectElement.SelectedIndex Property |
Gets or sets ordinal index of the selected option.
[VBScript] Public Property SelectedIndex As Integer
[JScript] public function get SelectedIndex() : int; public function set SelectedIndex(int);
The ordinal index of the selected option, starting from 0.
HTMLSelectElement Object | HTMLSelectElement Members | DOM Namespace