How to catch an event on pagination buttons next/previous of DataTables
How to catch an event on pagination buttons next/previous of DataTables
Can anybody show me an example of how to catch the events on pagination buttons next/previous of datatables? In particular I'm interested for the "next" button. It would really help me if you have an example of how to catch the event of a particular pagination button.
I have searched and in datatable and found that to catch an event you should use this :
$('#example').on('page.dt', function ()).DataTable();
But this catches the events for all the pagination buttons. I want to know how to do it for a particular one("next" in my case).
Thanks in advance