We recently went into lengthy discussion about this.  No there is no a
way to call a Javascript function from PHP.  But you CAN send a
Javascript the input it needs to decide which function to use.  You can
either have the PHP script generate the Javascript dynamically.  Or if
you need to run a remote PHP script then you can have it send back to
the Javascript input through the URL string (GET method).

-----Original Message-----
From: David Johansen [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, March 21, 2002 4:46 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Calling a javascript function?

Is there any way to call a javascript function from inside a php script?
Dave



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




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

Reply via email to