I'm trying to remove all but the first two rows of a table. Unfortunatly this script will be used on a numerous tables that I don't know the length of. I've got around this by assigning a variable the number of child nodes of the tbody ie the number of rows. What I can't seem to figure out though is how to get my code to step through the rows deleting them, starting at row 3. Any suggestions please?