HTML API

createCaption

Add a caption element to a specified table element. if it already exists, it will be replaced with one bearing the wording "table caption".
Throws an exception when the application cannot find a match for the table element or the innerHTML is different. See HTML live edit for further information.

tilepieces.core.htmlMatch.createCaption(tableEl);

Parameters

tableEl
A table element

Return Value

None.