I have an onclick button that removes all DIV a result. But it only removes the DIV's that are in the paging 1. The other results are in paging 2.3 ... etc are not removed. How to solve it?
function removeDiv (){
$('#divPlay').removeClass("visible").addClass("hidden");
}
<a onclick="removeDiv()">Remove</a>
Pagination 1: Ok
Pagination 2: Error
attach event to buttons action pagination. The moment of pagination the content is rendered for display and leftover is destroyed.