RE: [PHP] Calling a javascript using header();

From: Date: Wed, 13 Sep 2000 09:41:54 +0000
Subject: RE: [PHP] Calling a javascript using header();
Groups: php.general 
Request: Send a blank email to php-general+get-16527@lists.php.net to get a copy of this message
GEEEEEEEEZZ !!! Javascript and php are not one language so you can't call javascript elements in php! use for example <body onLoad="window.close();"> or something... maybe you should read a manual first http://www.php.net http://developer.netscape.com dowebwedo Jeroen Wesbeek .programming St. Jacobsstraat 16 Postbus 448 | 3500 AK Utrecht The Netherlands p 030 2348110 | f 030 2348605 [roses are red, violets are blue, I am schizophrenic and so am I ] -----Original Message----- From: Jesper Hess Nielsen [mailto:jesper@graffen.dk] Sent: woensdag 13 september 2000 11:37 To: php-general@lists.php.net Subject: [PHP] Calling a javascript using header(); 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#16527) next »