www.fgks.org   »   [go: up one dir, main page]

Click to Rate and Give Feedback
Methods
 createTHead Method
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

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

Applies To

TABLE

See Also

createCaption, createTFoot, deleteCaption, deleteTFoot, deleteTHead
Tags What's this?: Add a tag
Community Content
 
Add Community Content
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker
DCSIMG