HTML API

innerHTML

Sets the HTML markup contained within the element.
Throws an exception when the application cannot find a match for the element or the html is different. See HTML live edit for further information.

tilepieces.core.htmlMatch.innerHTML(element,HTML);

Parameters

element
DOM element
HTML
A string containing the HTML serialization of the element's descendants. Setting the value of innerHTML removes all of the element's descendants and replaces them with nodes constructed by parsing the HTML given in the string.

Return Value

None.