aspxtreme

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



Books and more ...

Contents
HTML Elements / DOM Objects
HTML Element Attributes
CSS Attributes
DOM Object Properties
DOM-compliant Events Reference
DOM Methods Reference
DOM Collections Reference
 


Suggested Reading



Previous page Back to top Next page

Check out related books at Amazon

© 2000-2008 Rey Nuñez All rights reserved.

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

You can help support aspxtreme