Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Exposing setPage method #4

Merged
merged 1 commit into from Apr 9, 2012

Conversation

Projects
None yet
2 participants
Contributor

zikes commented Dec 15, 2011

Usage:

$('.pagination').jqPagination('page','prev');
$('.pagination').jqPagination('page',1);
$('.pagination').jqPagination('page','last')
// etc.

beneverard added a commit that referenced this pull request Apr 9, 2012

Exposed max_page and current_page options. Fixes #2 #4
Thanks to Zikes (Jason Hutchinson) for his original code to expose methods, used a modified version to solve this issue.

@beneverard beneverard merged commit 11fdd98 into beneverard:master Apr 9, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment