$(document).ready( function() { $('#example').dataTable( { "fnDrawCallback": function( oSettings ) { alert( 'DataTables has redrawn the table' ); } } ); } );