how to delete table row based id in jquery 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();
});