selectedIndex

Try the links below, with and without an item selected.


What's the selectedIndex?

What's the value of the selectedIndex?

What's text of the selectedIndex?

Select me some Cheese!





View Source to see JavaScript.

Back to examples