Re: newbie - function is undefined

From: Date: Mon, 04 Apr 2011 13:36:31 +0000
Subject: Re: newbie - function is undefined
References: 1 2 3 4 5 6 7  Groups: php.general 
Request: Send a blank email to php-general+get-312243@lists.php.net to get a copy of this message
On Mon, Apr 04, 2011 at 08:03:46AM -0500, Jay Blanchard wrote: > [snip] > Short answer : yes. > Medium answer : probably, but really yes. > Long answer : unless you are providing some sort of mechanism to hold > the current state of PHP, eject the required JS code to get a value > from the client and return it to the server which then recreates the > working environment and carries on execution (try debugging THAT), > then almost certainly. > [/snip] > > So dynamically generated pages by PHP shouldn't spit out any JS of any > type? Spit out all the Javascript you want with dynamically generated PHP pages. Just don't try to call a Javascript function from PHP. That was the OP's mistake. Paul -- Paul M. Foster http://noferblatz.com http://quillandmouse.com

« previous php.general (#312243) next »