Jump to content

Archived

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

just-j

how do i get window.location to for entire screen and not just in iframe

Recommended Posts

well  subject pretty much explains it..  here is my code
[code]echo "<script language=javascript>window.open='index1.php';</script>"; }[/code]
it is in PHP so thats why its echoed like that.. 
my problem is that it loads in the iframe where the code is and i want to to reload the entire page with index1.php.  i searched everywhere on google and cant figure it out... HELP!!!

Share this post


Link to post
Share on other sites
if the page on iframe, try to use this
[code]
<script language=javascript>parent.location='index1.php';</script>
[/code]

Share this post


Link to post
Share on other sites

×

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.