This page is In Progress

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

deleteTHead

Method of dom/HTMLTableElementdom/HTMLTableElement

Syntax

var object = object.deleteTHead();

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 deleteTHead method to delete the tHead element from the table.

document.all.myTable.deleteTHead()

Notes

Remarks

If only one tHead element exists in the source, the deleteTHead method deletes the table header. If multiple tHead elements have been defined, the next tHead element in the source order is promoted as the table header.

Syntax

Standards information

See also

Related pages

Attributions