JQuery Pager Plugin
I’ve just knocked together a JavaScript pager for use in an application I’m working on and thought it may be of use to other people. I’ve therefore converted it to a jQuery plugin and released it under joint MIT and GPL licenses and it is entirely free for you to use or mess about with.
You can see a demonstration of it in action at http://jonpauldavies.github.com/JQuery/Pager/PagerDemo.html and visit my GitHub repository at http://github.com/jonpauldavies/jquery-pager-plugin/tree/master to download it.
Usage is very simple indeed. You just give it the number of pages to view, the current page, and a callback method to fire when the pager gets clicked.

January 6th, 2009 at 7:59 pm
how to use this in div to display 10 records comming from mysql