First time i tryed to build some php features using javascript i faced some problems using php and javascript, concretely passing php variables to javascript fucntions by parameter.
On this article i´ll teach how i solve this problem.
First we will declare an JavaScript function . Let´s use the simple example above.
Check how to add php code as parameters on javascript functions
Visit my php web site at www.revista-php.net , and add your questions
Regards
1 comentário:
Hi Guto,
I wrote a PHP library which makes the integration between PHP and javascript easier.
Check it, if you want to: http://www.chrisb.com.br/blog/js-calls-php-interacao-entre-javascript-e-php/
[]s!
Enviar um comentário