Est il possible de mettre une variable à la place de ajaxphp.php:
Code : Tout sélectionner
xhr.open("GET", "ajaxphp.php", true);Code : Tout sélectionner
xhr.open("GET", $parth, true);Merci
Code : Tout sélectionner
xhr.open("GET", "ajaxphp.php", true);Code : Tout sélectionner
xhr.open("GET", $parth, true);Code : Tout sélectionner
var path="fonction.php";
xhr.open("GET", path, true);