Section 25.263. Table.createCaption( ): get or create a caption


25.263. Table.createCaption( ): get or create a <caption>

DOM Level 2 HTML

25.263.1. Synopsis

 HTMLElement createCaption( ); 

25.263.1.1. Returns

An HTMLElement object representing the <caption> element for this table. If the table already has a caption, this method simply returns it. If the table does not have an existing <caption>, this method creates a new (empty) one and inserts it into the table before returning it.




JavaScript. The Definitive Guide
JavaScript: The Definitive Guide
ISBN: 0596101996
EAN: 2147483647
Year: 2004
Pages: 767

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net