Search DaTutorials:  
HOME
DHTML Reference
Introduction
Reference

deleteCaption Method


Deletes the caption element and its contents from the table.

Syntax

TABLE.deleteCaption()

Return Value

No return value.

Remarks

If there are multiple captions in the table, the deleteCaption method deletes only the first caption and all its contents.

Example

This example uses the deleteCaption method to delete the caption element from the table.

document.all.myTable.deleteCaption()

Standards Information

method is defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 Non-Microsoft link.

Applies To

TABLE

See Also

createCaption, createTFoot, createTHead, deleteTFoot, deleteTHead

     Garcia Marquez | Loans | Car Insurance | Buy Anything On eBay | Mortgages
Home     Link To Us     Ad With Us     Contact Us     Tell A Friend     Affiliates     Blog     MsOfficeHelp