直接跳转
<select name="select" size="1" οnchange="location=this.options[this.selectedIndex].value">
<option value="main.jsp?id=0">文章管理</option>
<option value="main.jsp?id=0">文章管理</option>
<option value="main.jsp?id=1">文章添加</option>
</select>
新页面跳转
<select name="select" size="1" onChange="javascript:window.open(this.options[this.selectedIndex].value)">
<option value="main.jsp?id=0">文章管理</option>
<option value="main.jsp?id=0">文章管理</option>
<option value="main.jsp?id=1">文章添加</option>
</select>
转载于:https://www.cnblogs.com/the-king-of-cnblogs/p/3475026.html