target still works, and<form action="1.asp" method="post" target=below>
<input type="submit" name="tijiao" value="提交">
</form>still worksif you want to use
<form runat=server target=below runat="server">
<asp:Button id=btn runat=server text="提交" />
</form>then ASP.NET will ignore your action setting, since the recommended way is postback to the current page, if the target page is on the same app, then save the data in session variables or some other storage and do Response.Redirect, or do Server.Transferor you can try (not recommended):
<form runat=server target=below runat="server" onsubmit="this.action='frame4.aspx';">and in frame4.aspx, you might need to do
<%@ Page EnableViewStateMac="false" %>
<input type="submit" name="tijiao" value="提交">
</form>still worksif you want to use
<form runat=server target=below runat="server">
<asp:Button id=btn runat=server text="提交" />
</form>then ASP.NET will ignore your action setting, since the recommended way is postback to the current page, if the target page is on the same app, then save the data in session variables or some other storage and do Response.Redirect, or do Server.Transferor you can try (not recommended):
<form runat=server target=below runat="server" onsubmit="this.action='frame4.aspx';">and in frame4.aspx, you might need to do
<%@ Page EnableViewStateMac="false" %>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货