I have a simple function which updates the database which works perfectly fine until you go past page 1 of the jquery datatable. The pagination itself doesn't "break" it as you can go back and forth and it will only work on page 1. As a quick example I can use it on page 1 (it works), I click to page 2 (it doesnt work on any rows) I click back to page 1 (it works again) all without refreshing the page ever.I have a simple function which updates the data