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
[snip]
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.
[/snip]
Yes.
--
PHP General
: [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
3 matches
Mail list logo