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

 

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

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