Can you refresh an entire page, from within an iframe?
Posted: Thu Jul 14, 2011 9:47 am
I have an iframe inside a PHP page that refreshes every 10 seconds.
But it needs to be able to dominate the PHP file under certain conditions.
One query needs to be able to refresh the overall PHP file and perform a function.
How do you refresh the page (redirect, or however you wish to term it) that is the 'parent' page holding the iframe?
I've seen many Javascripts but they all seem terribly complicated. I am sure there must be a way to do this easier.
Rather than using this which just refreshes the frame itself:
Is there something like that, that does the Parent?
Thanks.
But it needs to be able to dominate the PHP file under certain conditions.
One query needs to be able to refresh the overall PHP file and perform a function.
How do you refresh the page (redirect, or however you wish to term it) that is the 'parent' page holding the iframe?
I've seen many Javascripts but they all seem terribly complicated. I am sure there must be a way to do this easier.
Rather than using this which just refreshes the frame itself:
Code: Select all
<meta http-equiv='Refresh' content='12 ;URL=frame.php'>Thanks.