make list value a link

  • Thread starter Thread starter Anonymous
  • Start date Start date
A

Anonymous

Guest
This has been giving me a headache, because I am not able to find it using Google or any of the other php sites. So let's leave it up to the forum.

Question: How do I make a list so that when you choose a value, it takes you to another page.

For example, if I have a drop down list with the subjects:
Art
Craft
Photography

When Craft is chosen, then the user is taken to a page devoted to crafts. So really what I want is a list of links not just selectable values. Appreciate the help.


Tryton
 
The solution is JavaScript. Check this page for the simplest (I always apply a variant of Occam's Razor when dealing with JavaScript -- the simplest solution is usually the best) such script I could Google. It makes some suggestions on how to deal with script-challenged browsers.
 
Back
Top