Skip to content

Instantly share code, notes, and snippets.

@fronteer-kr
Created July 28, 2014 09:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fronteer-kr/ec12b347c423f1d91e90 to your computer and use it in GitHub Desktop.
Save fronteer-kr/ec12b347c423f1d91e90 to your computer and use it in GitHub Desktop.
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