document.write("<form action='showWaterPay.do' name=form1 style='display:none' method = 'post'>");
document.write("<input type='hidden' name='sign' value='"+sign+"'>");
document.write("<input type='hidden' name='itemId' value='"+ids+"'>");
document.write("<input type='hidden' name='accountnumbers' value='"+accountnumbers+"'>");
document.write("</form>");
document.form1.submit()
ajax返回success后,location.href为get提交为了使参数安全使用本方法
最新推荐文章于 2022-09-08 13:27:23 发布