How to delete table row on click?
Here is a jsfiddle.
I want to delete only row on which del link is nested, not the last row how script is doing now.
Use
$(this).parent().parent().remove();
on the anchor tags. So if your link is a child of a td, which is a child of tr, then tr will be removed.