Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7792547
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T22:13:07+00:00 2026-06-01T22:13:07+00:00

I am trying to make a drop down menu that takes me to various

  • 0

I am trying to make a drop down menu that takes me to various webpages. Right now it is set up so you make your selection and then you hit a “Go” button and then it takes you to the appropriate link. I am trying to figure out how to make it so when you make your selection it automatically goes and you don’t need to push the “Go” button.

Here is what I have:

<p align="center">
<form name="jump" class="center">
<select name="menu">
<option value="#">Select an option</option>
<option value="/link1.shtml">Link 1</option>
<option value="/link2.shtml">Link 2</option>
<option value="/link3.shtml">Link 3</option>
</select>
<input type="button" onClick="location=document.jump.menu.options[document.jump.menu.selectedIndex].value;" value="GO">
</form>
</p>

Any help or links to explanations would be great. Thank you!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T22:13:08+00:00Added an answer on June 1, 2026 at 10:13 pm

    Try the following:

    <select onchange="location = this.options[this.selectedIndex].value;">
        <option>Please select</option>
        <option value="http://www.apple.com/">Apple</option>
        <option value="http://www.bbc.com">BBC</option>
        <option value="http://www.facebook.com">Facebook</option>
    </select>​
    

    What you were looking for was ‘onchange’ instead of ‘onsubmit’

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to make a simple CSS drop down menu that when you mouse
I'm trying to make a drop down menu using javascript/jquery but can't get my
I'm trying to find/make a good jquery drop-down menu with animation (fadein/fadeout or slidedown)
I am trying to make a drop down menu of links. I use the
I'm trying to make a drop-down menu using two divs, the first <div> has
I am trying to make the drop down menu lists display inline(horizontally) but end
I'm trying to make a drop-down menu, works fine in firefox It does not
Hi I am trying to make a drop down list for a group of
I am trying to get a sql query to run on drop down menu
here's the page , I'm trying to delay the drop-down menu so the user

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.