1个回答
展开全部
提交2个表单,就会有两个窗口(ajax除外),
<form action="a.asp" method="post" name="form1" target="_blank" id="form1">
</form>
<form id="form2" name="form2" method="post" action="b.asp">
</form>
<input name="Submita" type="button" id="Submita" value="按钮" onclick="document.form1.submit();document.form2.submit();" />
<form action="a.asp" method="post" name="form1" target="_blank" id="form1">
</form>
<form id="form2" name="form2" method="post" action="b.asp">
</form>
<input name="Submita" type="button" id="Submita" value="按钮" onclick="document.form1.submit();document.form2.submit();" />
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询