function Submit1_onclick() {
    
    var form=document.getElementById("chinapay");
    form.submit();
}<center>
您确定支付<asp:Label ID="lbAmt" runat="server" Text="Label" ForeColor="Red"></asp:Label>元吗?
<form action="" id="form2"></form>
<form action="https://payment.ChinaPay.com/pay/TransGet"  method="post"  id="chinapay" name ="chinapay"> 
<input name="MerId" value="<%=MerId %>" class="allControls"/>
<input name="OrdId" value="<%=OrdId %>" class="allControls"/>
<input name="TransAmt" id="TransAmt" value="<%=TransAmt %>" class="allControls"/>
<input name="CuryId" value="<%=CuryId %>" class="allControls"/>
<input name="TransDate" value="<%=TransDate %>" class="allControls"/>
<input name="TransType" value="<%=TransType %>" class="allControls"/>
<input name="Version" value="<%=Version %>" class="allControls"/>
<input name="BgRetUrl" value="<%=BgRetUrl %>" class="allControls"/>
<input name="PageRetUrl" value="<%=PageRetUrl %>" class="allControls"/>
<input name="ChkValue" value="<%=ChkValue %>" class="allControls"/>
</form>
</center>
<center>
    <form action="https://payment.ChinaPay.com/pay/TransGet" method="post" name="chinapay"><input  type="submit" name="Submit" value="确认支付" id="Submit1" onclick="return Submit1_onclick()" style="background-image: url(/UserPanel/ima/btn1_1.jpg); margin: 1px; width: 60px; cursor: hand; color: white; border-top-style: none; border-right-style: none; border-left-style: none; border-bottom-style: none" />
    </form>
</center>为什么提交不了啊  另一个界面一直都获取不到值