JavaScript Delete Row by ID

function deleteRow(rowid)  
{   
    var row = document.getElementById(rowid);
    row.parentNode.removeChild(row);
}
Hungry Hare