我有一个简单的HTML下拉选择框。使用HTML下拉选择重定向选择
我想这个功能是'一旦选择了某个东西'>该页面然后重定向到一个自定义的URL。
下面是我的标记。
<fieldset id="size"><legend>Product Options</legend>
<div class="wpsc_variation_forms">
<table>
<tr><td class="col1"><label for="variation_select_48_5">Choose Size:</label></td>
<td class="col2"><select class="wpsc_select_variation" name="variation[5]" id="variation_select_48_5">
<option value="0" >-- Please Select --</option>
<option value="8" >Large</option>
<option value="7" >Medium</option>
<option value="6" >Small</option>
</select></td></tr>
</table>
</div><!--close wpsc_variation_forms-->
</fieldset>
我发现了一个类似的问题;但给出的解决方案似乎有点笨拙。
SELECT Dropdown that redirects without Javascript
自定义网址从哪里来? – Rooster