jquery delete current table row 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();
});
Example 3: javascript remove the current tr with click
//JQuery:
$(this).closest('tr').remove();
Example 4: javascript remove the current tr with click
<!--Buuton inside any cell in the TR row -->
<input type="button" onClick="$(this).closest('tr').remove();">