W3School TIY Editor
W3School 在线教程
改变方向
暗黑模式
运行代码
<html> <head> <script type="text/javascript"> function go() { location=document.forms[0].gowhere.value } </script> </head> <body> <form> <select id="gowhere" onchange="go()"> <option>-Select location-</option> <option value="/asp/index.asp">ASP 教程</option> <option value="/html/index.asp">HTML 教程</option> <option value="/js/index.asp">JavaScripts 教程</option> </select> </form> </body> </html>