JenniferLawrence Posted June 13, 2015 Share Posted June 13, 2015 Hi, so I have an iframe that has links in it. I want the links to target the appropriate page and when the page is done executing, instead of redirecting inside the iframe and having the page in the iframe change, I want the parent page to refresh. index.php <---------------------------- page is done executing, redirect the actual page. Not the iframe | | v | iframe -----> links inside the iframes are clicked ---> actions with the links are done This is how I want it to perform. Can this be done? Quote Link to comment Share on other sites More sharing options...
NetGuru87 Posted June 14, 2015 Share Posted June 14, 2015 I am pretty sure that this is not possible for safety reasons. Quote Link to comment Share on other sites More sharing options...
Solution JenniferLawrence Posted June 14, 2015 Author Solution Share Posted June 14, 2015 I am pretty sure that this is not possible for safety reasons. Actually, it is possible. I solved my problem by appending the target="_parent" to the links inside the iframe. I controll both iframe and index.php so what about saftey reasons again? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.