caryyy
03-09-2006, 08:11 AM
I'm trying to make a dropdown box in a form. I want all the options in the dropdown box to link to a named anchor on the same page, but I can't get it to work. Here's the code I'm using:
<form>
<div align="left">
<select name="memnur" onChange="location.href=(form.memnur.options[form.memnur.selectedIndex].value)" style="font-family: verdana;">
<option value="">Alphabetical Index</option>
<option value="#a">A</option>
<option value="#b">B</option>
<option value="#c">C</option></select>
</div></caption></form>
<a name="a"></a>
<a name="b"></a>
<a name="c"></a>
The actual page is here: http://www.pbfngla.com/home/members-nursery.htm
<form>
<div align="left">
<select name="memnur" onChange="location.href=(form.memnur.options[form.memnur.selectedIndex].value)" style="font-family: verdana;">
<option value="">Alphabetical Index</option>
<option value="#a">A</option>
<option value="#b">B</option>
<option value="#c">C</option></select>
</div></caption></form>
<a name="a"></a>
<a name="b"></a>
<a name="c"></a>
The actual page is here: http://www.pbfngla.com/home/members-nursery.htm