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...
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn