Question: can iframe access parent javascript?
Answer: JavaScript Interaction between Iframe and Parent. On this page, a document in an iframe uses JavaScript to interact with its parent document. ... However, unless you are trying to access specific properties of the iframe element itself, it is simpler to use the parent property to access the containing document.