Widgets > wijpager > Change Paging Modes > nextPrevious Paging |
The nextPrevious paging mode is a set of pagination controls consisting of Next and Previous buttons. In this topic, we will create a nextPrevious pager that uses the text "Next" and "Previous" on the paging buttons.
<body>
tags of the page.
<div id="pagerNextPrevious">
</div>
<script id="scriptInit" type="text/javascript">
$(document).ready(function () {
$("#pagerNextPrevious2").wijpager({ pageCount: 150, pageIndex: 40, mode: "nextPrevious",
firstPageClass: "", previousPageClass: "", nextPageClass: "", lastPageClass: ""
});
});
</script>