jquery remove row from table 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();
});