I use jQuery datatables plugin.
In my table I have a column for deleting rows. I used this selector in my columns:
<td> <span class="icon_text accept"></span> </td>
And I wrote some code to delete a row from the table:
$(".accept").click(function (e) {
//Delete
});
Everything works fine, but just in page one of the table. It means if my table has more than one page, the selector does not work.
What should I do?
Change your JavaScript code to: