deleteTFoot

HTML (DHTML)

deleteTFoot Method

Internet Development Index

Deletes the tFoot element and its contents from the table.

Syntax

object.deleteTFoot()

Return Value

No return value.

Remarks

If only one tFoot element exists in the source, the deleteTFoot method deletes the table footer. If multiple tFoot elements have been defined, the next tFoot element in the source order is promoted as the table footer.

Example

This example uses the deleteTFoot method to delete the tFoot element from the table.

document.all.myTable.deleteTFoot()

Standards Information

This method is defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 Non-Microsoft link.

Applies To

TABLE, TBODY

See Also

createCaption, createTFoot, createTHead, deleteCaption, deleteTHead