Edit The Code:
See Result »
Try it Yourself - ©
w3ii.com
Apple
Orange
Pineapple
Banana
Click the button to select the option element with index "2".
Note:
The index starts at 0.
Try it