Edit This Code:
See Result »
Row 1
Row 2
Row 3
Row 4
Row 5
Row 6
Click the button to return the position of the rows in the thead, tbody, and tfoot rows collection.
Try it
Result: