jquery remove all tr from table code example
Example 1: jquery remove all tr from table
$("#tableId > tbody"). empty();
Example 2: remove tr in table jquery
$("#MyTable").on("click", "#DeleteButton", function() {
$(this).closest("tr").remove();
});