Newbie needs help with javascript & HTML form

C

CLP

What I am trying to do is have a form with drop down menu selections
and a go button. When a user selects a drop down value and clicks the
go button, they are redirected to the option value associated with
that choice. Here is what I have so far, but it's not working:

Any suggestions?

<form name="categorychoose" ID="Form1" method="post">
<tr>
<td width="12"><img src="images/common/transparent.gif" width="1"
height="1"></td>
<td width="128" align="left" valign="top">
<select name="categorychooseselect" size="1" class="productCatagory">
<option value="null">Choose Gender</option>
<option value="1.html">1</option>
<option value="2.html">2</option>
<option value="3.html">3</option>
<option value="4.html">4</option>
</select>
</td>
<td width="50" align="left" valign="top">
<input type="image" value="Submit"
src="images/productsearch/submit.gif" width="25" height="17"
border="0"
onclick=document.categorychoose.action='categorychooseselect';document.categorychoose.submit();>
</td>
</tr>
</form>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,042
Latest member
icassiem

Latest Threads

Top