|
Ok so I have this code
<form name="jump">
<select name="music" size="7">
<option value="ACTG/ACTG.php">ACTG - accounting - (ED,SB)</option>
<option value="ADMS/ADMS.php">ADMS - Administrative Studies (ADMS) - (AP)</option>
<option value="ANTH/ANTH.php">ANTH - Anthropology - (AP, GS)</option>
<option value="ARB/ARB.php">ARB - Arabic - (AP)</option>
<option value="ARTH/ARTH.php">ARTH - Art History - (GS)</option>
<option value="ARTM/ARTM.php">ARTM - Arts and Media - (SB)</option>
<option value="ASL/ASL.php">ASL - Asl American Sign Language - (AP)</option>
<option value="BC/BC.php">BC - Bethune College - (SC)</option>
<option value="BCHM/BCHM.php">BCHM - Biochemistry - (SC)</option>
<option value="BFND/BFND.php">BFND - Business Fundamentals - (SB)</option>
<option value="BIOL/BIOL.php">BIOL - Biology - (ED, GS, SC)</option>
</select>
<br />
<input type="button" onClick="location=document.jump.menu.options[document.jump.menu.selectedIndex].value;" value="Choose">
</form>
And I want it to redirect user to the specified location/url once user clicks the choose button, according on selection he made. The problem is that it does not do that, and the reason why I want to use it in such a format is that so when user presses according key on the keyboard he will be able to select the correct thing. Keep in mind this list will have 156 elements in it and it would be just too cruel to make the a drop down menu or any other way to let the user choose.
Thanks a lot in advance for all your help
__________________
Those who can: learn. Those who can't: teach.
|