日期:2014-05-16 浏览次数:20479 次
<td colspan=3>
<select id="currency" name="currency">
<option id="1" value="one">1</option>
<option id="1" value="two">2</option>
</select>
</td>
document.getElementById("currency").options[document.getElementById("currency").selectedIndex].value //获取select的value
document.getElementById("currency").options[document.getElementById("currency").selectedIndex].text //获取选中项的文本