Search DaTutorials:  
HOME
DHTML Reference
Introduction
Reference

createTHead Method


Creates an empty tHead element in the table.

Syntax

oTHead = TABLE.createTHead()

Return Value

ReturnsĀ the tHead element object if successful, or null otherwise.

Remarks

If a tHead already exists, createTHead returns the existing element. Otherwise, it returns a pointer to the element created.

Example

This example uses the createTHead method to create a table header.

myTHead = document.all.myTable.createTHead() 

Standards Information

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

Applies To

TABLE

See Also

createCaption, createTFoot, deleteCaption, deleteTFoot, deleteTHead

     Buy WoW Gold | Copyrights | Personal Car Finance | Mobile Phone | Online Advertising
Home     Link To Us     Ad With Us     Contact Us     Tell A Friend     Affiliates     Blog     MsOfficeHelp