1. Go to this page and download the library: Download neooblaster/xhrquery library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
neooblaster / xhrquery example snippets
print_r($_REQUEST);
print_r($_REQUEST);
print_r($_GET);
`js
var moteur_ajax = new xhrQuery();
moteur_ajax.target('script_cible.php');
`js
var moteur_ajax = new xhrQuery();
moteur_ajax.target('script_cible.php');
moteur_ajax.send();
`js
new xhrQuery().target('script_cible.php').send();
`js
new xhrQuery().target('script_cible.php').callbacks(ma_fonction_1, ma_fonction_2).send();
`js
var moteur = new xhrQuery();
moteur.target('script_cible.php');
moteur.values('nom=DUPRE', 'prenom=nicolas', 'age=27');
moteur.callbacks(ma_fonction_1);
moteur.send();
`js
new xhrQuery('script.php').values('nom=DUPRE').callbacks(ma_function).method('GET').send();
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.