'selectedIndex' Syntax and Note
Note:
Read and write property.
The index of the selected <option> element.
Syntax:
document.getElementById("selectID").selectedIndex = value
document.all.selectID.selectedIndex = value // IE only
Related examples in the same category