How to use a javascript parameter inside php? -


this question has answer here:

there javascript function parameter :

<script type="text/javascript">    function affichehelp(aide_htm)    {      ... // want code php here parameter "aide_htm"    } </script> 

how use "aide_htm" javascript parameter inside php code within javascript function ?

you need invoke serverside code clientside javascript. commonly done ajax call. how depends enormously on want result , js library using. i'd recommend reading on ajax in general, , jquery or mootools on how execute call specifically.


Comments

Popular posts from this blog

php - Why I am getting the Error "Commands out of sync; you can't run this command now" -

linux - Does gcc have any options to add version info in ELF binary file? -

java - Are there any classes that implement javax.persistence.Parameter<T>? -