I have an iFrame that does some background processing. When this processing is complete I would like to re-direct the user to another page, but the header change code is only affecting the embedded iFrame. Is there a way to target the main window?
I have an iFrame that does some background processing. When this processing is complete
Share
I have seen the deprecated Meta redirect have a
targetattribute, but I don’t know how widely it is supported.In Javascript:
Works only if the top frame is on the same domain as the emitting page.
For a solution that works across domains and without Javascript, the following would work: