Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 81930

Warning message when the user clicks several times on the paging button

$
0
0

Hello,
I have a datatable with ajax pagination, when you click several times in the pagination button it shows an ajax error.
When I open the ajax error, the response has all the records:

I tried disabling the button after it is clicked but the problem persists:
.on('draw',function(){
$(".paginate_button.previous").click(function(){
$(this).attr('class','paginate_button previous disabled');
});
$(".paginate_button.next").click(function(){
$(this).attr('class','paginate_button next disabled');
});
});

What could be the problem?.. thanks


Viewing all articles
Browse latest Browse all 81930

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>