How can I delete all rows of an HTML table except the
This works in IE without even having to declare a var for the table and will delete all rows:\'s using Javascript, and without looping through all the rows in the table? I have a very huge
for(var i = 0; i < resultsTable.rows.length;)
{
resultsTable.deleteRow(i);
}