After seven years of writing content for this site I have decided that it is time to move on.
The only difference between referencing rows in the thead or tfoot of a table and referencing them in a tbody is that a table can have more than one tbody. In this example we look at how to build two nested loops that will reference every row within each tbody in order to apply a class to every even row in each tbody.
Adding a heading row to a table is as simple as
The DOM call to update a table caption is very straightforward as you can access it directly once you reference the table rather than having to hunt within the table for it.