function par_init() {
        let xhr = ajaxReq('start_php_ar');
        xhr.onreadystatechange = function () {
            if (xhr.readyState === 4 && xhr.status === 200) {
                if (checkbox.checked)
                    location.reload(true);
            }
        }
    }
//Calls script php-ar.php passing it the following parameters: the current file, the current date (to avoid caching)
Calls script php-ar.php passing it the following parameters: the current file, the current date (to avoid caching)
Calls script php - ar . php passing it the following parameters : the current file the current date ( to avoid caching )
function par_init() {
        let xhr = ajaxReq('start_php_ar');
        xhr.onreadystatechange = function () {
            if (xhr.readyState === 4 && xhr.status === 200) {
                if (checkbox.checked)
                    location.reload(true);
            }
        }
    }
function par_init ( ) { let xhr = ajaxReq ( 'start_php_ar' ) ; xhr . onreadystatechange = function ( ) { if ( xhr . readyState === 4 && xhr . status === 200 ) { if ( checkbox . checked ) location . reload ( true ) ; } } }
Calls script php-ar.php passing it the following parameters: the current file, the current date (to avoid caching)
Calls script php - ar . php passing it the following parameters : the current file the current date ( to avoid caching )