var confirmOrderForm=document.getElementById("confirmOrderForm");
var url="${pageContext.request.contextPath }/confirmOrder/confirmOrder.action?team=aa";
alert(url);
confirmOrderForm.action=url;
confirmOrderForm.submit();
怎么搞到了action里team都未空啊。郁闷好久,才发现<form id="confirmOrderForm">忘添加method="post"
时间: 2024-10-15 03:10:54