在IE8环境下,以下的表单用get方式提交方式,出错了.
/**
* 查询 按钮相应函数的调用函数
*/
function query() {
with(window.document.getElementById("flowCardForm")) {
action = "${pageContext.request.contextPath}/servlet/FlowCardServlet?command=${query}";
method = "get";
submit();
}
}
改用post方式提交,就可以了.
/**
* 查询 按钮相应函数的调用函数
*/
function query() {
with(window.document.getElementById("flowCardForm")) {
action = "${pageContext.request.contextPath}/servlet/FlowCardServlet?command=${query}";
method = "post";
submit();
}
}
详细解决方案
with提交表单,不能用get方式
热度:52 发布时间:2024-01-17 04:02:51.0
相关解决方案