前端页面js代码:
<head>
<script>
window.name = "PremaritalCheckup_ManSocietyAgreeForm";
</script>
<base target="_self" />
</head>
<form id="form1" runat="server" target="PremaritalCheckup_ManSocietyAgreeForm">
window.name中赋值的值是form中target中的值