Form JavaScript Tutorial

The selectedIndex property returns the index number of the selected option in that instance of a select box.
If this property is used to access a multiple select box, it will return the index number of the first selected item.


    
      
        AA
        BB
        CC
        DD