delete tr from table jquery 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();
});