JAVASCRIPT AJAX
Links
//JAVASCRIPT AJAX
< button type="button" onclick="loadDoc()">Change Content </button>
function loadDoc() {
const xhttp = new XMLHttpRequest();
xhttp.onload = function() {
document.getElementById("demo").innerHTML = this.responseText;
}
xhttp.open("GET", "ajax_info.txt", true);
xhttp.send();
}
//JAVASCRIPT AJAX