jq delete table row code example
Example: remove tr in table jquery
$("#MyTable").on("click", "#DeleteButton", function() {
$(this).closest("tr").remove();
});
$("#MyTable").on("click", "#DeleteButton", function() {
$(this).closest("tr").remove();
});