selectedIndex
The selectedIndex
property of the HTMLSelectElement interface is the numeric index of the first selected option element in a select element, if any, or −1
if no <option>
is selected.
The selectedIndex
property of the HTMLSelectElement interface is the numeric index of the first selected option element in a select element, if any, or −1
if no <option>
is selected.