var tableRow = document.getElementById('a1row'); tableRow.parentNode.removeChild(tableRow);