作者:泉水叮咚139 | 来源:互联网 | 2014-08-10 02:57
varconfirmOrderForm=document.getElementById(confirmOrderForm);varurl=${pageContext.request.contextPath}confirmOrderconfirmOrder.action?team=aa;alert(url);con
var cOnfirmOrderForm=document.getElementById("confirmOrderForm");
var url="${pageContext.request.contextPath }/confirmOrder/confirmOrder.action?team=aa";
alert(url);
confirmOrderForm.action=url;
confirmOrderForm.submit();
怎么搞到了action里team都未空啊。郁闷好久,才发现忘添加method="post"