Name

Table.createTFoot( ): get or create a <tfoot> — DOM Level 2 HTML

Synopsis

HTMLElement createTFoot( );

Returns

A TableSection representing the <tfoot> element for this table. If the table already has a footer, this method simply returns it. If the table does not have an existing footer, this method creates a new (empty) <tfoot> element and inserts it into the table before returning it.

Get JavaScript: The Definitive Guide, 5th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.