JavaScript menghapus baris dengan id

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