jQuery Pagination
This is intended to be a simple jQuery based pagination.
How to Contribute
I welcome all code contributions. The ideal method is to use GitHub's practice of forking the repository and making a pull request.
- Fork the repository and clone it
- Commit your changes making sure to sign-off that you certify the changes are under the license of the project per the Developer Certificate of Origin
- Push your changes to your repository
- Create a pull request to the main repository. See Pull requests for more information.
Example usage:
$('#sometable tbody').paginate();
If using the tablesorter plugin add the following to update the rows when sorting
$("#sometable").on('sortEnd', function(){$('#sometable tbody').paginate('redraw');});