pagecount分页数量,
buttonClickCallback点击分页的函数,
TotalCount记录总数
PageEnter:true 跳页false不跳页
$("#pager").pager({
pagenumber: pageclickednumber,
pagecount: Math.ceil(total / 8),
buttonClickCallback: PageClick,
TotalCount: total,
PageEnter: true
})
PageClick = function (pageclickednumber) {
}
<input type=button value=click onclick="window.location='你要转向的页面'">
<input type="button" value="返回" onclick="window.location.href='你要转向的页面'">
<input type="button" value="返回" onclick=javascript:location.href='你要转向的页面'>