make list value a link

Discussing Html . Code , Software , other

Moderators: egami, macek, gesf

Post Reply
User avatar
New php-forum User
New php-forum User
Posts: 49
Joined: Wed Jul 09, 2003 8:25 am
Location: Joze

Mon Jul 14, 2003 9:35 am

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:

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.


User avatar
Posts: 2257
Joined: Sat Jul 05, 2003 1:18 pm
Location: A bunk in the back

Mon Jul 14, 2003 10:47 am

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.

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest