Export (0) Print
Expand All
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

deleteTFoot method

Deletes the tFoot element and its contents from the table.

Document Object Model (DOM) Level 2 HTML Specification, Section 1.6.5

Syntax

object.deleteTFoot()

Parameters

This method has no parameters.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Standards information

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.

Examples

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


document.all.myTable.deleteTFoot()

See also

table
tBody
Reference
createCaption
createTFoot
createTHead
deleteCaption
deleteTHead

 

 

Show:
© 2014 Microsoft