selectedIndex property

int get selectedIndex

The HTMLSelectElement.selectedIndex property is a long that reflects the index of the first or last selected option element, depending on the value of multiple. The value -1 indicates that no element is selected.

Implementation

external int get selectedIndex;
set selectedIndex (int value)

Implementation

external set selectedIndex(int value);