Search DaTutorials:  
HOME
DHTML Reference
Introduction
Reference

deleteTHead Method


Deletes the tHead element and its contents from the table.

Syntax

object.deleteTHead()

Return Value

No return value.

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.

Example

This example uses the deleteTHead method to delete the tHead element from the table.

document.all.myTable.deleteTHead()

Standards Information

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, deleteTFoot

     Cheap Car Insurance | Debt Consolidation | Mortgages | Mortgage Calculator | Loans
Home     Link To Us     Ad With Us     Contact Us     Tell A Friend     Affiliates     Blog     MsOfficeHelp