Best way to do a pagination on front end

samuelvonbonn picture samuelvonbonn · Mar 17, 2011 · Viewed 7.2k times · Source

I have a table that has a data for 30-60 rows. I would like to paginate this on front end. Basically something like:

First 1 2 3 4(<current) 5 6 .. 15(<last page) Last

jQuery would be the weapon for this I believe. Any good tutorials/advices how to do this? What to remember etc.

Answer

bluefoot picture bluefoot · Mar 17, 2011

If you want to do everything on the client side, this plugin should do the trick very well: http://tablesorter.com