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.
$('td a').on('click',function(){ e.preventDefault(); $(this).parent().parent().remove(); });