Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Html form with <option>
Old 08-27-2009, 11:17 AM Html form with <option>
Average Talker

Posts: 27
Trades: 0
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.
Cinatas is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 08-27-2009, 01:19 PM Re: Html form with <option>
prasanthmj's Avatar
Experienced Talker

Posts: 42
Name: Prasanth
Trades: 0
It should be:
HTML Code:
location=document.jump.music.options[document.jump.music.selectedIndex].value
(music; not menu ?)
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
prasanthmj is offline
Reply With Quote
View Public Profile
 
Old 08-27-2009, 02:39 PM Re: Html form with <option>
Average Talker

Posts: 27
Trades: 0
Oh my god I cannot believe I did this -_-ll
Sorry was very frustrated cause I have been redoing it for the last 2 days, and I was using the same template as the one from my mysic section. Sorry for stupid question
And thanks a lot
__________________
Those who can: learn. Those who can't: teach.
Cinatas is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Html form with <option>
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.21140 seconds with 12 queries