HTML API

prepend

Inserts an element or a documentFragment before the first child of the selected element.
Throws an exception when the application cannot find a match for the element. See HTML live edit for further information.

tilepieces.core.htmlMatch.append(element,node);

Parameters

element
A DOM element
node
An element or a documentFragment.

Return Value

None.