Jump to content

Dropdownlist


Nudua
 Share

Recommended Posts

First Part...

<!-- Drop down Box --!><html><body><form><select name="Links"><option value="Variable 1">Choice One<option value="Variable 2">Choice Two<option value="Variable 3">Choice Three<option value="Variable 4">Choice Four</select></form>

That is the basic format for a dropdown list.I honestly don't know how to make them links.I was trying:

<option value="Variable 1"><a href=www.url.com>Choice One</a>

But that doesn't work apparently. Sorry I couldn't be more of help.

Link to comment
Share on other sites

Add something like:

<input type="submit" value="Go">

in the form element to get a Submit button. You may have some JavaScript to activate it.Also, the form must have the action attribute to point to a JavaScript funcion or a server side file to process the form.

Link to comment
Share on other sites

I need to make a dropdownlist that goes to a link when you click on the name, or when you click a go button. Can anybody write a code for this?

This script can be found on w3schools.comhttp://www.w3schools.com/dhtml/tryit.asp?f...=trydhtml_menu3
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...