Re: Refresh Main frame

From: Date: Tue, 28 Aug 2001 14:21:00 +0000
Subject: Re: Refresh Main frame
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-64806@lists.php.net to get a copy of this message
<Original message> From: Rosen <rosen_dm@dir.bg> Date: Tue, Aug 28, 2001 at 05:03:50PM +0300 Message-ID: <20010828164240.12300.qmail@pb1.pair.com> Subject: Re: [PHP] Refresh Main frame > Can I send params to main frame ? > > Thanks, > Rosen </Original message> <Reply> Well... yes, you can. You'll have to use a different kind of construction though: <SCRIPT type="text/javascript"> window.parent.<name-of-mainframe>.location.href = "<URL-of-mainpage>?<params-as-you-know>"; </SCRIPT> Depending on the construction as you use it in your PHP, you can do it in a better way. If you want to refresh the mainframe after eg submitting a form in a subframe you can just use the reload-thing as I sent earlier and then use sessions. Then you don't need to send params over the URL. But like I say... that totaly depends on the construction as you use it. </Reply> -- * R&zE: -- »»»»»»»»»»»»»»»»»»»»»»»» -- Renze Munnik -- DataLink BV -- -- E: renze@datalink.nl -- W: +31 23 5326162 -- F: +31 23 5322144 -- M: +31 6 21811143 -- -- Stationsplein 82 -- 2011 LM HAARLEM -- Netherlands -- -- http://www.datalink.nl -- ««««««««««««««««««««««««

« previous php.general (#64806) next »