Date: 08/28/01
- Next message: Erik H. Mathy: "RE: [PHP] LAN Scripts/Functions"
- Previous message: Rasmus Lerdorf: "Re: [PHP] Re: The future of PHP - accessory libraries"
- In reply to: Rosen: "Re: [PHP] Refresh Main frame"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
<Original message>
From: Rosen <rosen_dm <email protected>>
Date: Tue, Aug 28, 2001 at 05:03:50PM +0300
Message-ID: <20010828164240.12300.qmail <email protected>>
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 <email protected> -- W: +31 23 5326162 -- F: +31 23 5322144 -- M: +31 6 21811143 -- -- Stationsplein 82 -- 2011 LM HAARLEM -- Netherlands -- -- http://www.datalink.nl -- ««««««««««««««««««««««««
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Erik H. Mathy: "RE: [PHP] LAN Scripts/Functions"
- Previous message: Rasmus Lerdorf: "Re: [PHP] Re: The future of PHP - accessory libraries"
- In reply to: Rosen: "Re: [PHP] Refresh Main frame"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

