I am trying hard for days now to add and delete rows to a table. I
could really use some help...
Each row contains two buttons (images) - 'add row' and 'delete row'.
When the user clicks add row within a specific cell/row, the index of
that row should be passed to a function that creates a new row using
that index (the new row should be added directly below the row where
the user clicked. The new row should contain all of the cells and html
in the cells from the row above, including the buttons/images. If a
user clicks delete row, the index of the row with the delete button
should pass to the function that deletes the row.
I would greatly appreciate any help - I'm new to this. The more
thorough the explanation, the better. I've seen the other postings in
this group and I can't seem to apply the logic to my situation.
THANKS
could really use some help...
Each row contains two buttons (images) - 'add row' and 'delete row'.
When the user clicks add row within a specific cell/row, the index of
that row should be passed to a function that creates a new row using
that index (the new row should be added directly below the row where
the user clicked. The new row should contain all of the cells and html
in the cells from the row above, including the buttons/images. If a
user clicks delete row, the index of the row with the delete button
should pass to the function that deletes the row.
I would greatly appreciate any help - I'm new to this. The more
thorough the explanation, the better. I've seen the other postings in
this group and I can't seem to apply the logic to my situation.
THANKS
Comment