Hi,
I have pagination plugin on a web page.
I want to be able to reload the data using ajax from different source by using radio buttons to select the list data.
But this does not reload the pagination plugin.
How do I refresh/reset to look at loaded data??
Tried this.
$(document).ready(function() {
$("#pagination").pagination($("#ListCount").val(), {items_per_page:$("#PageSize").val(), callback:HandlePaginationClick});
});
function HandlePaginationClick(new_page_index, pagination_container) {
$("#documentList").load("/Home/GetDocumentList/", { page: new_page_index, projectid: $("input[name='ProjectLink']:checked").val() });
$("#pagination").pagination($("#ListCount").val());
return false;
}
Malcolm