function loadDoc() { var xhttp = new XMLHttpRequest(); //Open OOP xhttp.onreadystatechange = function() {// Do Something When result is return if (this.readyState == 4 && this.status == 200) { document.getElementById(“demo”).innerHTML = this.responseText; } }; xhttp.open(“GET”, “ajax_info.txt”, true); xhttp.send(); } //Ajax doing at back end as client , it can changes the front end display […]
OUTPUT BUFFER ob (PHP)
ob_start(); ob_flush(); header(“Location: YOUR LOCATION”); //Work ob_start(‘ob_handler’); ob_flush(); header(“Location: YOUR LOCATION”); //Not Work