select下拉列表选中后,跳转新链接

1.在当前页面打开新链接

<select onchange="location.href=this.options[this.selectedIndex].value" name="" id="" ></select>

option的value里面要写好新链接的地址

2.在新窗口打开新链接

<select onchange="window.open(this.options[this.selectedIndex].value)" name="select"></select>



posted @ 2017-08-24 11:15  惊沙男孩  阅读(1121)  评论(0)    收藏  举报