IDs in HTML must be unique, use a class instead then you can use Class Selector (".class").
Selects all elements with the given class.
HTML
Script
$(document).ready(function () {
$(".delete").on("click", function () {
var tr = $(this).closest('tr');
tr.remove();
});
});