标题: 怎么用按钮去确定(打开)下拉菜单value的值
时间: 2014-07-12
『回复列表(6|隐藏机器人聊天)』
<select onchange="javascript:window.open(this.options[this.selectedIndex].value)" style="margin:10px 0px 10px 10px;" id="select">
<option value="/res/develop_cn.htm">中文</option>
<option selected="selected" value="/res/develop_en.htm">English</option>
</select>
<select onchange="javascript:window.open(this.options[this.selectedIndex].value)" style="margin:10px 0px 10px 10px;" id="select">
<option value="#">中文OR英文</option>
<option value="/res/develop_cn.htm">中文</option>
<option selected="selected" value="/res/develop_en.htm">English</option>
</select>