1. _ain_register={
2. _ain_method:function(){
3. var dataForm = $("#fromData").serialize();
4.
5.
6.
7.
8.
9.
10.
11. //对结果集进行操作
12.
13.
14. window.toastr['error']("未获取数据","提示");
15.
16.
17. }
18. }
19. //注释:
20. ctx=${pageContext.request.contextPath}
21. 这个在前台写:
22. <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
23. ${pageContext.request.contextPath}"/>