如图:select标签中添加:
onchange="location.href=this.options[this.selectedIndex].value;"
上面方法为当前页面刷新跳转,另外也可以新窗口跳转:
onchange="window.open(this.options[this.selectedIndex].value)"
如图:select标签中添加:
onchange="location.href=this.options[this.selectedIndex].value;"
上面方法为当前页面刷新跳转,另外也可以新窗口跳转:
onchange="window.open(this.options[this.selectedIndex].value)"