Edit The Code:
See Result »
Try it Yourself - ©
w3ii.com
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