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