2,763
社区成员
发帖
与我相关
我的任务
分享
$(function () { $('#pageLimit').bootstrapPaginator({ currentPage: ${page.page}, totalPages: 1, size: "normal", bootstrapMajorVersion: 3, alignment: "right", numberOfPages: 12, itemTexts: function (type, page, current) { switch (type) { case "first":return "首页"; case "prev":return "上一页"; case "next":return "下一页"; case "last":return "末页"; case "page":return page; }//默认显示的是第一页。 }, onPageClicked: function (event, originalEvent, type, page){//给每个页眉绑定一个事件,其实就是ajax请求,其中page变量为当前点击的页上的数字。 layer.load(); $('#page').val(page); $('#pageRows').val(200); $("#form-task-select").attr("action", "${pageContext.request.contextPath}/daywork/Payment/selectOwnerInfo.do"); $("#form-task-select").submit(); }