Edit The Code:
See Result »
Try it Yourself - ©
w3ii.com
Select your favorite fruit:
Apple
Orange
Pineapple
Banana
Click the button to return the value of the selected fruit.
Try it