i use
function pageselectCallback(page_id, jq) {
$('#libro_result').text("Mostrando resultados del
"+((page_id*10)+1)+"-"+((page_id*10)+10));
$("#firmas").load("libro.php",{action: "listar", page: page_id});
return false;
}
Raghu escribió:
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