首页 热点资讯 义务教育 高等教育 出国留学 考研考公

关于下拉框的问题

发布网友

我来回答

2个回答

热心网友

<SELECT class=wipt onchange=javascript:window.open(this.options[this.selectedIndex].value,"","");this.options[0].selected=true; size=1 name=select5 style="width:135px">
<OPTION selected>____上级组织____</OPTION>
<OPTION value=http://www.ccyl.org.cn>共青团*</OPTION>
<OPTION value=http://www.bjyouth.gov.cn>共青团北京*员会</OPTION>
</select>

----------------------
this.options[0].selected=true;

热心网友

将<select>标记一句改为:
<SELECT class=wipt onchange=javascript:window.open(this.options[this.selectedIndex].value,\"\",\"\");this.selectedIndex=0; size=1 name=select5 style=\"width:135px\">

声明声明:本网页内容为用户发布,旨在传播知识,不代表本网认同其观点,若有侵权等问题请及时与本网联系,我们将在第一时间删除处理。E-MAIL:11247931@qq.com