Mega Code Archive
CreateCaption() Syntax, Parameters and Note
Note:
Creates a element associated with the specified table.
The contents of the must also be set at run time.
Syntax:
document.getElementById("tableID").createCaption()
document.all.tableID.createCaption() // IE only