Ajax Pager


Permalink to this snippet:


The authors comment:

The default LISTER pager is not AJAX friendly.  Here's a simply way of overriding it with an AJAX pager.  My code creates the paging element as a LISTBOX of pages.  If someone can figure out how to create a set of page links, I'd like to see it! 

Also, this code requires an extra SQL call to count rows. If someone has any improvements, please submit to the mailing list.

Gary Wong, 2009-08-21@17:22:41, pasted: