Jump to content

[SOLVED] Using Targets for redirects.. Possible??


hotwire

Recommended Posts

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..

 

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..

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..

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.