page event occurs before loading of data dom to html page.
page event occurs before loading of data dom to html page.
![sachin111](https://secure.gravatar.com/avatar/49cb2ba0a3f296d4c80135267cab2403/?default=https%3A%2F%2Fvanillicon.com%2F49cb2ba0a3f296d4c80135267cab2403_200.png&rating=g&size=120)
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. ' );
} );
This discussion has been closed.
Replies
This is a duplicate of this thread so closing.