AJAX Http Requests
Ajax use of HTTP requests
In traditional JavaScript coding, if you want to get any information from a database or file server, or send user information to the server, you will have to make an HTML format and get or post data to the server. Users must click the "Submit" button to send/Get information, wait for the server to respond, and then a new page will load the results.
As the server returns to a new page, the user submits the input, the traditional network application can run slowly, and often inconvenient.
With Ajax, your JavaScript directly with the server, through JavaScript's XMLHttpRequest object
With an HTTP request, a Web page can request and get a response from the Web server-without having to reload the page. The user will continue on the same page, he or she will not be notified, request a Web page script, or send data to the server in the background.
XMLHttpRequest objects
By using the XMLHttpRequest object, a web developer can update the content of the Web page from the server after the page has been loaded!
Ajax technology was popular in 2005 with Google (recommended by Google).
Google recommends using the XMLHttpRequest object to create a vibrant Web interface: When you start typing in Google's search box, a JavaScript sends a letter to a server, and the server returns a list of suggestions.
The XMLHttpRequest object is supported in Internet Explorer 5.0 +, Safari Browser 1.2, Mozilla 1.0/Firefox, Opera 8 + and Netscape 7.