Using the adoptNode() Method with Embedded iframes

added by JavaScript Kicks
1/17/2019 8:13:59 AM

328 Views

There's an interesting DOM feature that I just came across that's a method of the document object that allows you to remove elements from an that's embedded on a page and drop them into the current page (or vice versa). In other words, you adopt the elements from the child frame into the parent.


0 comments