Avatar of tv4free
tv4free
 asked on

jquery jumpbox dropdown

I have a simple javascript dropdown URL jumpbox. I want the same functionality even when the user disables javascript I believe we can achieve this by using Jquery. Please help.

<form name="jump2">
<select name="myjumpbox"  OnChange="window.open(jump2.myjumpbox.options[selectedIndex].value)">
     <option selected>Please Select...</option>
     <option value="http://www.google.com/">google.com</option>
     <option value="http://www.yahoo.com/">yahoo.com</option>
     <option value="http://www.about.com/">about.com</option>
</select>
</form>

Open in new window

Web Languages and StandardsJavaScriptHTML

Avatar of undefined
Last Comment
berserkk

8/22/2022 - Mon
Matthew Kelly

jQuery is a javascript library, and will not work either when javascript is disabled. To my knowledge there is not another way to do this (ie. onchange) without javascript enabled.
tv4free

ASKER
Forget about disabling Javascript. I just want to create a menu with UL by using jquery .
How do I create a dropdown with JQuery.
ASKER CERTIFIED SOLUTION
berserkk

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck