php uses $_POST or $_SESSION[] to pass parameters to js functions
In php programming, you can use $_POST or $_SESSION[' ' ], you can also use the echo statement for output
The code is as follows:
The above $_POST[''] can also be applied to $_SESSION[' '];
The code is as follows:
var para="$para"; alert(para);
http://www.bkjia.com/PHPjc/879613.htmlwww.bkjia.comtruehttp: //www.bkjia.com/PHPjc/879613.htmlTechArticlephp uses $_POST or $_SESSION[] to pass parameters to js functions. You can pass parameters to js functions in php programming. You can use $_POST or $_SESSION[' '], or you can use the echo statement to output the code as follows: ?php ech...