Posted by Kimmo Laine on 12/13/16 11:46
"Rich" <rich@newsguy.com> wrote in message
news:e35el30204d@drn.newsguy.com...
> On 1 May 2006 09:18:09 -0700, milahu wrote...
>>
>>> I wonder if I could refresh parent window in PHP when I close child.
>>
>>Definitely not. Only with JavaScript.
>>
>
> You could probably create a condition in PHP to print the Javascript code
> to do
> that. Since PHP is processed on the server end you couldn't use that
> directly.
>
That's a "guns don't kill people, people kill people" type statement. Of
course the script required to close the window can be printed from php but
that doesn't mean php is doing the closing, it's still the javascript that
does it. So the answer is still no. Only javascript.
--
"ohjelmoija on organismi joka muuttaa kofeiinia koodiksi" -lpk
spam@outolempi.net | Gedoon-S @ IRCnet | rot13(xvzzb@bhgbyrzcv.arg)
[Back to original message]
|