Re: calling javascript

From: Date: Mon, 01 Nov 2004 14:10:44 +0000
Subject: Re: calling javascript
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-200830@lists.php.net to get a copy of this message
Garth Hapgood - Strickland wrote:
I want to call a javascript function: function error_popup() { newwin = window.open("error_popup.php","sss","height=470,width=450") } from within my php code. How do I go about called this function? Garth
You can't call JavaScript functions from within PHP. You can output the JavaScript function to the browser. PHP == Server Side JavaScript == Client Side -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 john@kegworks.com

« previous php.general (#200830) next »