JS里将结果放到window.open里来处理,将请求的结果放到child新页面来展示.
function checkForm()
{
if($('#ui_elementffff').val() == 0)
{
alert("请选择银行!");
return false;
}
<%-- window.open("","child","width=900,height=900,top=250,left=350");--%>
window.open("","child","menubar=yes,titlebar=yes,toolbar=yes,location=yes,alwaysRaised=yes,z-look=yes");
<%-- window.open( document.getElementById('payByBankForm').submit());--%>
document.getElementById('payByBankForm').submit();
<%-- $('#con_one_2').show();--%>
openStaticPopup();
}
在FORM里增加target,然后将请求的内容放到这个里面来处理.
<form action="${contextPath}/payMoneyToInteface.html"
method="post" name="payByBankForm" id="payByBankForm" target="child">
function checkForm()
{
if($('#ui_elementffff').val() == 0)
{
alert("请选择银行!");
return false;
}
<%-- window.open("","child","width=900,height=900,top=250,left=350");--%>
window.open("","child","menubar=yes,titlebar=yes,toolbar=yes,location=yes,alwaysRaised=yes,z-look=yes");
<%-- window.open( document.getElementById('payByBankForm').submit());--%>
document.getElementById('payByBankForm').submit();
<%-- $('#con_one_2').show();--%>
openStaticPopup();
}
在FORM里增加target,然后将请求的内容放到这个里面来处理.
<form action="${contextPath}/payMoneyToInteface.html"
method="post" name="payByBankForm" id="payByBankForm" target="child">