createCaption Method
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
[ Object Name ] Platform Version Win16: Win32: Mac: Unix: WinCE: Version data is listed when the mouse hovers over a link, or the link has focus.
See Also
createTFoot, createTHead, deleteCaption, deleteTFoot, deleteTHead
Did you find this topic useful? Suggestions for other topics? write us!
© 1999 microsoft corporation. all rights reserved. terms of use.