时间:2020-11-14 12:16:32 | 栏目:jquery | 点击:次
jQuery改变form表单的action,并进行提交的实现代码
<s:form action="/student/traScore.action?method=list" id="queryForm" name="queryForm"> </s:form> //导出学生实训成绩 function exportScore(){ var path = "${ctx}/student/traScore.action?method=exportExcel"; $('#queryForm').attr("action", path).submit();; }