just-j Posted July 19, 2006 Share Posted July 19, 2006 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!!! Link to comment https://forums.phpfreaks.com/topic/14999-how-do-i-get-windowlocation-to-for-entire-screen-and-not-just-in-iframe/ Share on other sites More sharing options...
nogray Posted July 19, 2006 Share Posted July 19, 2006 if the page on iframe, try to use this[code]<script language=javascript>parent.location='index1.php';</script>[/code] Link to comment https://forums.phpfreaks.com/topic/14999-how-do-i-get-windowlocation-to-for-entire-screen-and-not-just-in-iframe/#findComment-60532 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.