/

HTML / CSS / JavaScript Tutorial

JavaScript select object property: length

[this page | pdf | back links]

The length property of the JavaScript DOM object corresponding to the HTML <select> element returns the number of option elements within the drop-down list.

 


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


Desktop view | Switch to Mobile