I have a HTML table that I fill with data from an AJAX jQuery call.This table uses the jQuery plugin - datatables for paging, sorting and so on.
The jQuery call gets cal
You can use the clear() function to remove all rows of data from the table as follows:
var table = $('#example').DataTable(); table.clear().draw();