Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

HTML Forms - drop down menu

Options
  • 28-06-2006 10:49am
    #1
    Closed Accounts Posts: 78 ✭✭


    Hi,

    I want to put a drop down menu on a website I am developing (badly!)

    I want the user to be brought to a different page depending on which option they choose.

    E.g. They choose value 1, they are brought to page1, they choose value2, they are brought to page 2 etc.

    At the moment, the code looks something like this :-

    <form id="form1" name="form1" method="post" action="">
    <label>Test
    <select name="select">
    <option selected="selected">Value 1</option>
    <option>Value 2</option>
    <option>Value 3</option>
    <option>Value 4</option>
    </select>
    </label>
    </form>

    Can anyone tell me the code I need to make this work.

    Thanks
    Jen


Comments

Advertisement