PEAR::Pager example with AJAX

In this example, we have some items, divided into chunks by PEAR::Pager, and we use PEAR::HTML_AJAX to show only the current page. The links are generated by Pager, please notice how they're javascript calls instead of html links. Only the current page data is loaded, and everytime you click on a link, another page is fetched on the server with an AJAX call (the timestamp will prove it's really loaded upon request, every time you click on a navigation link).

I'm the target

« Go back to the tutorial