Posted on 2006-05-24
Is there any way to detect what row in a table that a user clicked on? I have a table with regular html buttons (<button id="1"> 2,3,4 ect.) in it. I have a function that deletes the rows from the table when the user clicks on the button. But after it deletes the row the row numbers change. Is there anyway to detect what row the button, or anything for that matter, is in so users can delete more than one row?