Creates an empty CAPTION element in the TABLE.
Syntax
oCaption = TABLE.createCaption()
Return Value
Returns a 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
This example uses the createCaption method to create a CAPTION.
myCaption = document.all.myTable.createCaption()
Applies To
See Also
createTFoot, createTHead, deleteCaption, deleteTFoot, deleteTHead