发布网友 发布时间:2022-04-23 17:30
共1个回答
热心网友 时间:2022-04-23 08:25
<p id="content">Dynamic page content</p>
<p id="pagination-here"></p>
$('#pagination-here').bootpag({
total: 38, // total pages
page: 1, // default page
maxVisible: 10, // visible pagination
leaps: true // next/prev leaps through maxVisible
}).on("page", function(event, num){
$("#content").html("Page " + num); // or some ajax content loading...
});