Calling a javascript using header();
| From: | Jesper Hess Nielsen | Date: | Wed, 13 Sep 2000 09:36:53 +0000 |
| Subject: | Calling a javascript using header(); | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-16525@lists.php.net to get a copy of this message | ||
Hi all
I'm trying to execute a piece of javascript code (to close the current window after processing
some user input) using the following code :
header("Location: javascript:window.close();");
what is the correct way of doing this, cause I certainly can't get it to work right for me??
/Jesper