AJAX Introduction


How To Work ?

AJAX is Based on Internet Standards

  • Client side user perform action to generate event that event call to a  ajax method.
  • The $.ajax() function returns the XMLHttpRequest object that it creates. Normally jQuery handles the creation of this object internally
  • JavaScript XMLHttpRequest object call as a asynchronous HTTP request to the Server.
  • Web Server process the request and return XML Or json contain data.
  • XMLHttpRequest object calls to a callback function along with response from the web server.
  • Client browser updates the HTML DOM representing the web page along with new data.

Stack Overlode is optimized Tutorials and examples for learning and training. Examples might be simplified to improve reading and learning and understand. Tutorials and examples are constantly reviewed to avoid errors, but we cannot warrant full correctness of all content. While using Stack Overlode, you agree to have read and accepted our terms of use, cookie and privacy policy.