the code below add and remove table row with the help of Jquery the add function works fine but the remove only work if I remove the first row
I know this is old but I've used a function similar to this...
deleteRow: function (ctrl) { //remove the row from the table $(ctrl).closest('tr').remove(); }
... with markup like this ...
X blah blah
...and it works fine