I have a table:
I call this code using a '+' button in the last column of the table row, i.e.
var table = document.getElementById(tableId);
var newRow = table.tBodies.rows.cloneNode(true);
I would like now to be able to delete a specific row. The problem is that all the rows are to some degree anonymous. All I have to go on is the row index of the button that was clicked to delete the row. How can I determine the row index of image that was clicked, and use this to somehow delete that row?