asp.net.ph

Skip Navigation Links

createTHead Method

DHTML Methods


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

The following example creates a THEAD.

myTHead = document.all.myTable.createTHead ( ) 
Applies To

TABLE

See Also

createCaption, createTFoot, deleteCaption, deleteTFoot, deleteTHead



© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note