Unless you want to refresh the page, you would have to use Ajax, called from
JavaScript and take the reply and continue processing via JavaScript.
----- Original Message -----
From: "Jay Blanchard" <jblanchard@xxxxxxxxxx>
To: <php-general@xxxxxxxxxxxxx>
Sent: Thursday, March 16, 2006 8:51 PM
Subject: Two functions, one javascript, one php, one on_click event?
I have a button. When the button is clicked it performs a JavaScript
function. I need it to perform a PHP function before it performs the
JavaScript function. Is this a case where I do the PHP function and then
output the JavaScript with PHP? My head hurts.
--
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