<script language="javascript"> function deleteRow(index){ var tableObj=document.getElementById("mytable"); tableObj.deleteRow(index); } function addRow(){ var tableObj=document.getElementById("mytable"); var newRowObj=tableObj.insertRow(tableObj.rows.length); var newColName=newRowObj.insertCell(newRowObj.cells.length); var newColAge=newRowObj.insertCell(newRowObj.cells.length); var newColButton=newRowObj.insertCell(newRowObj.cells.length);