/

HTML / CSS / JavaScript Tutorial

JavaScript select object property: selectedIndex

[this page | pdf | back links]

The selectedIndex property of the JavaScript DOM object corresponding to the HTML <select> element sets / returns the index of the selected option.

 


NAVIGATION LINKS
Contents | Prev | Next | JavaScript DOM (and BOM)


Desktop view | Switch to Mobile