关于选择下拉菜单弹出相应的页面的问题
怎样用javascript实现点击下拉列表的某个选项,弹出相应的页面?那个大虾知道?能否举个例子,把源码传上来!
程序代码:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <TITLE> New Document </TITLE> <META NAME="Generator" CONTENT="EditPlus"> <META NAME="Author" CONTENT=""> <META NAME="Keywords" CONTENT=""> <META NAME="Description" CONTENT=""> </HEAD> <BODY> <select onChange="javascript:window.open(this.value)"> <option selected>--请选择网址--</option> <option value='http://www.baidu.com'>百度</option> <option value='http://www.'>谷歌</option> <option value='http://bbs.bccn.net'>编程论坛</option> </select> </BODY> </HTML>just a sample