Page length event
Page length event

Hi, my name is Jaka i wanna ask a question.
How can i use this event in DataTables(); not in dataTables();
$('#example').dataTable();
$('#example').on( 'length.dt', function ( e, settings, len ) {
console.log( 'New page length: '+len );
} );
thanks,
This discussion has been closed.