deleteTFoot
Method of dom/HTMLTableElementdom/HTMLTableElement
Syntax
var object = object.deleteTFoot();
Return Value
Returns an object of type DOM NodeDOM Node
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Examples
This example uses the deleteTFoot method to delete the tFoot element from the table.
document.all.myTable.deleteTFoot()
Notes
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.
Syntax
Standards information
- Document Object Model (DOM) Level 2 HTML Specification, Section 1.6.5
See also
Related pages
- tabletable
Attributions
Microsoft Developer Network: [Windows Internet Explorer API reference Article]