hotwire Posted December 15, 2008 Share Posted December 15, 2008 Hi, I have a need to want a page to refresh to a _parent window, it appears this is not possible.. Example: echo "<meta HTTP-EQUIV='REFRESH' content='1; url= xxxx.php' target='_parent'>" Notice the target='_parent' in the above code.. This does not work.. so I'm assuming this is not possible.. If there is a way to automatically open another page using targets, please let me know.. Thanks for any help on this.. Quote Link to comment Share on other sites More sharing options...
mapleleaf Posted December 15, 2008 Share Posted December 15, 2008 is the parent always the page they come from? Quote Link to comment Share on other sites More sharing options...
hotwire Posted December 15, 2008 Author Share Posted December 15, 2008 Hi, yeah, I have a message box that when delete is selected I want the results to refresh the _parent window from an Iframe.. It appears that targets (target='_blank' , target='_parent', target='_self' etc) will not work with automatic redirects.. Quote Link to comment Share on other sites More sharing options...
mapleleaf Posted December 15, 2008 Share Posted December 15, 2008 target ="_top" Quote Link to comment Share on other sites More sharing options...
hotwire Posted December 15, 2008 Author Share Posted December 15, 2008 Hi Mapleleaf, Actually target='_top' would pretty much be the same as the other targets, in this case unrecognizable using auto redirects or refresh.. Fortunately, I did get a work-around through the PHP Builder forum, it consists of using the following as javascript: <script type="text/javascript">window.parent.location = 'xxx.php';</script> I appreciate the attempts of any help here.. Thanks.. 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.