I am working on a website where I have embedded a Google Map with Google Maps API. I understand how to go to a location on a map using

form action="#" onsubmit="showLocation(); return false;">
<input type="text" name="q" value="Address" class="address_input" size="30" />
What I would like to do is have a drop down list of locations such as

<select size="1">
<option name="1">Test</option>
so that when you submit the form, it goes to the location you have selected. I have tried to use the "if" value in javascript but that doesn't work.

Can someone please provide me with a code to do this?

Thank you