I have created a webpage that has an embedded webpage in itself. Can this embedded page execute functions on the main page, such as innerHTML()?
innerHTML()
You can access the window object of the parent document through the parent property.
parent