I am trying to call JavaScript function with parameter that are PHP variables. I have tried 2 approaches.
calling JavaScript function in PHP with script tag
Just call on the predefined java script code like jsFunction() ; in your php code