可以啊!option不是有value吗,你可以根据value的不同,相应相应的连接.

解决方案 »

  1.   

    <script language="javascript">
    <!--
      var s,t;  function funchange1(a)
      {
        s=a;
      }
      function funchange2(b)
      {
        t=b;
      }
      
      //submit的时候就可以这样写:form.action = 'b.asp?eric_year='+s+'&eric_month='+t;//-->
    </script><select name="eric_year" size="1" onchange="funchange1(this.value);">
    <option value="1">1<option>
    </select>
    <select name="eric_month" size="1" onchange="funchange2(this.value);">
    <option value="12">12<option>
    </select>
      

  2.   

    这样还是要通过表单提交的啊,我是想直接通过url传递值
      

  3.   

    eric_year.options[eric_year.selectedIndex].value
      

  4.   

    <select name="eric_year" size="1">
    <option value="1">1<option>
    </select>
    <select name="eric_month" size="1" onchange=woyingjie()>
    <option value="12">12<option>
    </select>
    <script>
    function woyingjie(){
    hoho1=document.all.eric_year;
    hoho2=document.all.eric_month;
    window.location.href="index.asp?eric_year="+hoho1+"&?eric_month="+hoho2;
    }
    </script>
      

  5.   

    错了一点东西 
    hoho1=document.all.eric_year.value;
    hoho2=document.all.eric_month.value;