Using document.adoptNode() with Multiple iframes

This page demonstrates how to use document.adoptNode() to move nodes from one frame to another. Click the first button (left) to see the targeted nodes move from the child frame to the parent. Then click the button in the second frame (right) to see the same nodes move to the new child frame.

< Go back to Article