I am trying to understand the hierarchical picture of window , document and iframe .
So, window is just a browser window, and document is the place where the DOM exists. document loaded into window .
Is creating an iframe very similar to creating a dialog ( window.openDialog() ) (is this nothing but a window)?
Both have a content document and a parent window.
javascript dom html domdocument
batman
source share