HTML API
outerHTML
Replace the element with nodes parsed from the given string.
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.outerHTML(element,HTML);
Parameters
- element
- DOM element
- HTML
- A string containing an HTML serialization of the element and its descendants. Setting the value of outerHTML replaces the element and all of its descendants with a new DOM tree constructed by parsing the specified htmlString.
Return Value
None.