Edit This Code:
See Result »
A demonstration of how to access a SELECT element
Apple
Pear
Banana
Orange
Click the button to get the number of option elements found in a drop-down list.
Try it
Result: