Re[2]: [PHP] Re: passing a variable value of PHP into the alert of JavaScript.

From: Date: Tue, 30 Mar 2004 14:23:16 +0000
Subject: Re[2]: [PHP] Re: passing a variable value of PHP into the alert of JavaScript.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-181817@lists.php.net to get a copy of this message
Hello Prabu, Tuesday, March 30, 2004, 3:18:09 PM, you wrote: PS> Can I call a function of PHP code from HTML tag just the same PS> as I call a function of JavaScript from HTML tag? PS> I meant, Like this "<a Onclick='warning()'>CustID</a>"; No, but it'd be lovely if you could :) (Actually the .NET framework allows this via some clever JS and page segment caching, but I'm not sure of a PHP equivalent yet). -- Best regards, Richard Davey http://www.phpcommunity.org/wiki/296.html

« previous php.general (#181817) next »