I have added a checkbox for each row in DataTables. When table data is loaded, I bind change event to each checkbox like this:
fnInitComplete: function(oSettings, json) {
$("input[type='checkbox']").on("change", function() {
// checking if any checkbox is checked
});
}
The problem is that change event is added only for the first page. If I navigate to other pages and click on any checkbox, no event is fired. It works only if I refresh the page. Same is with Show entries. What would be a clever way to deal with this issue?
