jqeury remove tr element 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();
});