10
Comment appeler une fonction JavaScript depuis PHP?
Comment appeler une fonction JavaScript depuis PHP? <?php jsfunction(); // or echo(jsfunction()); // or // Anything else? Le code suivant provient de xyz.html (sur un clic de bouton), il appelle un wait()dans un xyz.js externe . Cela wait()appelle wait.php. function wait() { xmlhttp=GetXmlHttpObject(); var url="wait.php"; \ xmlhttp.onreadystatechange=statechanged; xmlhttp.open("GET", url, true); …
203
php
javascript