document.adoptNode()
This page demonstrates how to use document.adoptNode() to move nodes from one frame to another. Click the button to see the targeted nodes move from the child frame to the parent.
ADOPT THE ELEMENTS!