在asp中没有直接的方法完成,建议用.net

解决方案 »

  1.   

    能否在客户端检测然后作为queystring发送呢?如何检测?我只知道 name[n].selected
      

  2.   

    客户端:
    <html>
    <head>
    <title>无标题文档</title>
    <SCRIPT LANGUAGE=javascript>
    function mm() 
    {
    alert("You Have Selected  "+form1.select.selectedIndex);
    }
    </SCRIPT>
    </head><body>
    <form name="form1" method="post" action="#">
      <select name="select">
        <option>s1</option>
        <option>s2</option>
        <option>s3</option>
        <option>s4</option>
      </select>
      <input type="submit" name="Submit" value="Submit" onclick="mm()">
    </form>
    </body>
    </html>
      

  3.   

    服务器端:
    <% 
        str=Request("select")
        Response.Write str
    %>