asp.net.ph

Skip Navigation Links

createCaption Method

DHTML Methods


Creates an empty CAPTION element in the TABLE.

Syntax

oCaption = TABLE.createCaption ( ) 
Return Value

CAPTION object. If a CAPTION already exists, createCaption ( ) returns the existing element; otherwise, it returns a pointer to the element created. If the method fails, it returns null.

Example

The following example creates a CAPTION.

myCaption = document.all.myTable.createCaption ( ) 
Applies To

TABLE

See Also

createTFoot, createTHead, 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