<form id="form1" onsubmit=return aa()……<script>
aa(){
……
form1.submit();
window.open("","","width=200,height=200")
}
</script>

解决方案 »

  1.   

    michael_monkey(从头再来) 不行啊,submit的值没有过去啊.form.action=????;这里总要告诉程序提交到哪里去吧
      

  2.   

    <form id="form1" onsubmit=return aa()……<script>
    aa(){
    ……
    window.open("","","width=200,height=200")
    form1.submit();
    }
    </script>
      

  3.   

    wndmsgnew = window.open("","winname","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,left=150,top=20,width=600,height=670");
                document.frmHidden.target = winname";
                document.frmHidden.action = "./MsgSend.asp";
                document.frmHidden.submit();
       wndmsgnew.focus();
      

  4.   

    和form无关.<input type=button onclick="openwin('100')"><script>
    openwin(a){
    window.open("制定页面.jsp?a="+a,"","width=制定宽度,height=制定高度");
    window.close();
    }
    </script>
      

  5.   

    这样:
    <form action=new.asp target=spwin name=fn>
    <input type=button onclick=window.open('','spwin','width=100,height=100');fn.submit()>
    </form>
    这个可以处理POST的数据,如果是GET的数据(用URL传递的参数),可以用楼上的方法。
      

  6.   

    onsubmit='window.open("","","width=300,height=300")'