Instantly share code, notes, and snippets.

Embed
What would you like to do?
meta.cmn.loadJS(_JSURL_.PAGINATION);
$("#sectionG01 .meta-pagination").metaPagination({
t: result.total,
p: result.pageOption._p,
r: result.pageOption._r,
onPageClick: function(page) {
self.list(page, _r, _s);
if (location.hash) location.hash = "";
},
onRowPerPageChange: function(rpp) {
self.list(1, rpp, _s);
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment