createTHeadcreateTHead*
*Contents  *Index  *Topic Contents
*Previous Topic: createTextRange
*Next Topic: createTFoot

createTHead

Description

Creates an empty THEAD element in the TABLE. If a THEAD already exists, createTHead returns the existing element, otherwise, it returns a pointer to the element created.

Syntax

object.createTHead()

Return Value

Returns the THead element object. If the method fails, it returns null.

Remarks

The following example creates a THEAD,

myTHead = document.all.myTable.createTHead() 

Applies To

table

See Also

createTFoot, createCaption, deleteTHead, deleteTFoot, deleteCaption


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.