Moves a specified element to another position relative to another element.
Throws an exception when the application cannot find a match for the element or the pivot element. See HTML live edit for further information.
- A DOM element against which the target element is to be moved
DOMStringrepresenting the position relative to the element ; must match one of the following strings:
'before': Before the element itself.
'prepend': Just inside the element , before its first child.
'append': Just inside the element , after its last child.
'after': After the element itself.
- The element, already present in the document, to be moved.