I want to call a java script function when the user clicks the pagination link in a jquery datatable.
How can i do this?
You can use the page event, which is the fire after the page changes. Bind page event after datatables initialization:
page
$('#table_instance').dataTable({some attributes}); $('#table_instance').bind('page', function () { //call some function here });