Re[2]: [PHP] Executing JavaScript
| From: | Richard Davey | Date: | Thu, 04 Mar 2004 16:27:31 +0000 |
| Subject: | Re[2]: [PHP] Executing JavaScript | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-179469@lists.php.net to get a copy of this message | ||
Hello Jeremy,
Thursday, March 4, 2004, 4:20:32 PM, you wrote:
J> Of *course* you can do that with php! When the user clicks a link, with
J> PHP respond like this:
J> ...
J> <body onLoad="javascript:window.close()">
J> ...
J> And voila! PHP closes the window!
No, PHP itself hasn't closed anything. JavaScript has.
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html