Delete a specific row from table
by Rekha[ Edit ] 2009-10-15 15:30:47
To delete a specific row from a table,the following function is used.
function removeR(r){
r.parentNode.removeChild(r);
}
Then in each row call the function as
onclick="removeR(this.parentNode.parentNode)"
This will delete the row by click a button in the row itself.