window.open("aa.asp?id=1");
如果要传参,上面的window.open也能。
可是如果你要的是post方式+window.open兄弟就只能帮你UP了!

解决方案 »

  1.   

    唉!
    客户要求的打开的窗口要好看一点!
    只能用window.open来打开了。
      

  2.   

    submit.htm:
    <html><head></head><body>
    <input type="text" id="submitData" value="asdf">
    <input type="button" name="Submit" value="按钮" onClick="openAndSubmit()">
    <script>
    var oW
    function openAndSubmit(){
    oW=window.open('','','top=1')
    oW.document.write('<form name="form1" action="submit.asp" method="post"><input style=display:none type=text name=submitData></form>')
    setTimeout("startSubmit()",50)
    }
    function startSubmit(){
    oW.form1.submitData.value=document.all.submitData.value
    oW.form1.submit()
    }
    </script>
    </body></html>submit.asp:
    <%=request.form("submitData")%>