Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I get value and link in same drop-down box?
Message
General information
Forum:
Internet
Category:
Javascript
Title:
How do I get value and link in same drop-down box?
Miscellaneous
Thread ID:
00982044
Message ID:
00982044
Views:
75
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.
Next
Reply
Map
View

Click here to load this message in the networking platform