Results 1 to 2 of 2

Thread: Making a Drop Down Box Which Leads Somewhere

  1. #1
    Join Date
    Dec 2004
    Posts
    12

    Making a Drop Down Box Which Leads Somewhere

    I have a drop down box with several options but when the user selects an option, I want them to be forwarded automatically to a url for that option.

    How do I do that?
    Here is the form:

    Code:
    <form name="form1" method="post" action="">
       <select name="select">
                      <option selected>Please select one...</option>
                      <option value="http://www.mysite.com/mailonsunday">Mail on Sunday</option>
                      <option value="http://www.mysite.com/standard">Evening Standard</option>
                      <option value="http://www.mysite.com/metro">Metro</option>
                      <option value="http://www.mysite.com/standard">Standard Lite</option>
      </select>
    </form>
    I'm sure the coding is wrong atthe moment but how do I forward people to the url in each case?

    JH

  2. #2
    Join Date
    Dec 2004
    Posts
    12
    Ive sorted it now

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •