'createCaption()' Syntax, Parameters and Note : createCaption « Javascript Methods « JavaScript Reference

Home
JavaScript Reference
1.Event Handlers Reference
2.Javascript Collections
3.Javascript Methods
4.Javascript Objects
5.Javascript Properties
JavaScript Reference » Javascript Methods » createCaption 
'createCaption()' Syntax, Parameters and Note

Note:

Creates a <caption> element associated with the specified table. 
The contents of the <caption> must also be set at run time.
    
Syntax:
    
document.getElementById("tableID").createCaption()
document.all.tableID.createCaption() // IE only

    

      
      
Related examples in the same category
1.'createCaption()' Example
2.'createCaption()' is applied to
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.