select下拉框选中进弹出新页面

it2022-05-06  4

<select name="select6" style="width: 180px;" οnchange="if (this.selectedIndex!=0) window.open(this.value)">                             <option>--请选择--</option>                             <option value=" http://baidu.com百度</option>                             <option value=" http://google.cn">谷歌</option>                             <option value=" http://cnblogs.com">博客园</option>                         </select>

转载于:https://www.cnblogs.com/flyrain/archive/2009/12/26/select.html

相关资源:select跳转菜单新窗口

最新回复(0)