<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>
<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>
转载于:https://www.cnblogs.com/wangdahai/p/5501176.html