1.在当前页面打开新链接
<select onchange="location.href=this.options[this.selectedIndex].value" name="" ></select>
option的value里面要写好新链接的地址
2.在新窗口打开新链接
<select onchange="window.open(this.options[this.selectedIndex].value)" name="select"></select>
1.在当前页面打开新链接
<select onchange="location.href=this.options[this.selectedIndex].value" name="" ></select>
option的value里面要写好新链接的地址
2.在新窗口打开新链接
<select onchange="window.open(this.options[this.selectedIndex].value)" name="select"></select>
相关文章: