<select name="select" onchange="javascript:document.location.href=this.options(this.selectedIndex).value">
    <option value="111.htm">111</option>
    <option value="222.htm">222</option>
    <option value="333.htm">333</option>
  </select>

解决方案 »

  1.   

    <form name="form" method="POST" action="--WEBBOT-SELF--">
      <select size="1" name="D1">
      <option value="a">a</option>
      <option value="b">b</option>
      </select>
      <input type="text" name="T1" size="20" onfocus='location="test.jsp?id="+this.form.D1.options[this.form.D1.selectedIndex].value'>
      <input type="submit" value="提交" name="B1"><input type="reset" value="重置" name="B2"></p>
    </form>
      

  2.   

    <input onfocus="window.location.href='a.jsp\?id='+ document.form1.selname.value">
      

  3.   

    <select name="select" onchange="top.location.href=this.options(this.selectedIndex).value">
        <option value="www.csdn.net">csdn</option>
        <option value="www.21cn.com">21cn</option>
        <option value="www.sohu.com">sohu</option>
      </select>
      

  4.   

    sorry:
    <input onfocus="window.location.href='a.jsp\?id='+ select.value">
      

  5.   

    <select name="select_website" onChange="top.location.href=this.value">
      <option value="#" selected>常用站点</option>
      <option value="http://www.sina.com.cn">新浪</option>
      <option value="http://www.163.com">网易</option>
    </select>