remove datatable from table jquery code example
Example: remove previous datatable instance
//Destroy the old Datatable
$('#equictntbl').DataTable().clear().destroy();
//Destroy the old Datatable
$('#equictntbl').DataTable().clear().destroy();