What do you want to save?
Add Code snippet
New code examples
-
Javascript 2022-01-31 06:01:59
clear datatable initialize once data is fetch
if you're using DataTables 1.10.x, you can initialize the new table with additional option "destroy": true, see below : function fetchNews(context) { if(context!="") { $("#dailyNews").dataTable({ ... Add solution