Hi, I am trying to use Jquery pagination plugin. I have read documentation but things are still not clear to me. Can someone please help me? What exactly we need to do in callback function? Will this pagination plugin work with Ajax call?
$("#News-Pagination").pagination(122, { items_per_page:20, callback:loadContents }); callback A callback function that is called when a user clicks on the link. the The function receives two parameters: the new page id and the pagination container (a DOM element). If the callback returns false, the event propagation is stopped. Default value: ``function(){return false;}`` Thanks Raghu