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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to