Skip to content
neotohin edited this page Sep 13, 2010 · 2 revisions

How to Use JQuery Pagination:

The use is same as the built in pagination system with extra config parameter :
$config[‘div’] = ‘#content’; /* Here #content is the CSS selector for target DIV /
$config[‘js_rebind’] = "alert(‘it works !!’); "; /
if you want to bind extra js code */

Requirements: Make sure you have added the Jquery.js file on top of the view file.

Put “Jquery_pagination.php” file in you application/library folder.

Don’t forget to use : $this→jquery_pagination→ instead of $this→pagination

Original Post Link : http://tohin.wordpress.com/2008/08/12/codeigniter-ajax-pagination/
Example Post Link : http://tohin.wordpress.com/2008/10/07/codeigniter-ajax-pagination-exampleguideline/

Clone this wiki locally