I followed the question previously posted here
I need to do pretty much same, i.e. I have an add button on each row and on add image click I want to move that row to another table, except that when I move my row, the target table has only one column common to the source table (source table has one more extra column which I dont have in the target table) and I need to add a column with a delete button image for every row moved into the target table. Right now able to delete the row from the source using the following code:
$(document).ready(function () {
$('#table_source td img.move_row').click(function () {
$(this).parent().parent().parent().remove();
});
});
Second part needed is when I click the delete image button in the target table the row should move back to the original table
Thanks in advance,
Priyank