I use JQuery DataTable. I send data to datatable onclick in json file at ajax succes .the first click everything is good,But the next click I get only the right data ANd wro
I created this simple function:
function refreshTable() { $('.dataTable').each(function() { dt = $(this).dataTable(); dt.fnDraw(); }) }