In non AJAX web applications, a user presses a button or clicks a link which calls a server to create HTML that is sent to the browser and is rendered in the form of a new web page – think Wikipedia.
Using AJAX, a user presses a button, and an
AJAX is often referred to as XHR, which stands for
Here is a simple example:
var xhr = new XMLHttpRequest(); xhr.open('GET', "http://infosnacks.com/", false); xhr.send();