<form name=f1>
<select onchange="f1.h1.value=this.options[this.selectedIndex].value;alert(f1.h1.value)">
<option value=1 selected>1</option>
<option value=2>2</option>
</select>
<input type=hidden name=h1>
</form>
这样应该可以满足你的要求.
<select onchange="f1.h1.value=this.options[this.selectedIndex].value;alert(f1.h1.value)">
<option value=1 selected>1</option>
<option value=2>2</option>
</select>
<input type=hidden name=h1>
</form>
这样应该可以满足你的要求.
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货