用纯HTML是实现不了的,用ASP或JSP很容易就成了,楼主可以在那些入门书里找到这种最简单的例子,偶就不献丑了:)

解决方案 »

  1.   

    第一个HTML页面
    <form action="第二个HTML" method="post">
    <select name="xx">
    </select>
    按钮
    </form>在第二个HTML里这样就可以了啊。
    <%=request("xx")%>
      

  2.   

    噢,纯HTML是不能实现的,要像 Bily_Chang(滴石) 说的那样。然后再结合上面我说的就可以了。不好意思。
      

  3.   

    噢,纯HTML是不可以的。要像楼上说的那样。然后再结合我上面的。不好意思。:(
      

  4.   

    可以的代码test1.html
    <html>
    <head>
    <title>testing 1</title>
    <script language="JavaScript">
    <!--
    function doSubmit(){
     thisForm.action="test2.html?thisSelect="+document.thisForm.thisSelect.value;
    thisForm.submit();
    }
    //-->
    </script>
    </head><body>
    <form method=post action="" Name="thisForm">
    <select name="thisSelect">
    <option value="Display1">Display1
    <option value="Display2">Display2
    <option value="Display3">Display3
    </select>
    <input type="button" value="button" onclick="doSubmit()"><input type='hidden' name='charhid' value=''>
    </form>
    </body>
    </html>
    代码test2.html
    <html>
    <head>
    <title>testing 2</title>
    </head><body>
    <form method=post action="" name="ddddddd">
    <input type='hidden' name='charhid' value=''>
    <script language="JavaScript">
    <!--
    function getValue()
    {
    var locaname= window.location;
    document.all.charhid.value=locaname;
    var charhidden=document.all.charhid.value;
    var STart= charhidden.lastIndexOf('=')+1;
      var SEnd=charhidden.length;
    var charnaem=charhidden.substring(STart,SEnd);
    return charnaem
    }
    document.write(getValue());
    //-->
    </script>
    </form>
    </body>
    </html>
    打开test1.html 选择select 点击按钮就可以了