下拉框添加链接

<SELECT name="select" onchange="window.open(this.options[this.selectedIndex].value,target='_self')">
<OPTION value='file1.htm' selected>网址1</OPTION>
<OPTION value='file2.htm'>网址2</OPTION>
<OPTION value='file3.htm'>网址3</OPTION>
</SELECT>

 

posted @ 2016-05-17 13:03  God丶魔多  阅读(520)  评论(0编辑  收藏  举报