Re: Two functions, one javascript, one php, one on_click event?

From: Date: Thu, 16 Mar 2006 20:36:12 +0000
Subject: Re: Two functions, one javascript, one php, one on_click event?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-232057@lists.php.net to get a copy of this message
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@pocket.com> To: <php-general@lists.php.net> Sent: Thursday, March 16, 2006 8:51 PM Subject: [PHP] 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

« previous php.general (#232057) next »