> My guess is maybe to remove the rows at the end - except I'm not sure > how to store all the rows until the end and then delete those. Either > that or somehow I have to adjust my loop..any suggestions? What if you update numrows after the loop with the new nuber of rows? x = x + 1; numrows = table.getElementsByTagName("TR").length; HTH! --Ken