page event occurs before loading of data dom to html page.

page event occurs before loading of data dom to html page.

sachin111sachin111 Posts: 2Questions: 1Answers: 0

I want to call one js functionality on paginate page change occurs. I used firstly page event but it occurs before loading of data. draw event also occurs before load of data. so when i js functionality doesnt find element. plz help

var table = $('table#location_tbl').DataTable({
"pageLength": 5,,
}).on( 'draw', function () {
alert( 'Redraw occurred. ' );
} );

Replies

  • colincolin Posts: 1,741Questions: 0Answers: 321

    This is a duplicate of this thread so closing.

This discussion has been closed.