Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript ajax get

const xhttp = new XMLHttpRequest();
xhttp.onload = function() {
    document.getElementById("demo").innerHTML = this.responseText;
}
xhttp.open("GET", URL);
xhttp.send();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #javascript #ajax
ADD COMMENT
Topic
Name
9+1 =