Here is an option list.
Here is a more robust option list.
Here are two versions of the same list:
A final example which does not use selectedIndex: