Edit This Code:
See Result »
Apple
Pear
Banana
Orange
Click the button to return the value of the name attribute of the drop-down list.
Try it
Result: