Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I get value and link in same drop-down box?
Message
Information générale
Forum:
Internet
Catégorie:
Javascript
Titre:
How do I get value and link in same drop-down box?
Divers
Thread ID:
00982044
Message ID:
00982044
Vues:
74
I have a drop-down box like so:
<select name="D1" size="1" onChange="AddValue(this.value);">
    <option value="14K Gold">14K Gold</option>
    <option value="10K Gold">10K Gold</option>
    <option value="Sterling Silver">Sterling Sliver</option>
    <option value="Gold Plated">Gold Plated</option>
 </select>
Can I add the following code to the existing 14K Gold option value line so that when someone choses 14K Gold it saves the value, but also takes the user to the 14k_gold.htm web page? If so, how would the line of code look?
<a href="14k_gold.htm"></a>
I tried putting this code inside the drop-down list option value lines above, but it does not work and does not go to the linked page. Or do I have to have two identical, but separate drop-down lists to make this work?

Thanks ahead of time for your help.
Steve Kramer
Kramer & Kramer Design
"Home of Go Cartoons"
Web Site: www.stephenkramer.com
Would you believe Far Side Lite?
More than 270 original cartoons.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform