Using document.adoptNode() with an embedded iframe

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.

< Go back to Article