XMLHttpRequest


AJAX

AJAX (Asynchronous JavaScript and XML) is a technique that allows web pages to be updated asynchronously by exchanging data with a web server in the background without interfering with the display and behavior of the existing page (Without reloading the page).

A practical example of AJAX is a search bar on a website that displays results as you type, without the need for the page to refresh. This is achieved by sending a request to the server as the user types and updating the search results section of the page with the response from the server, all without refreshing the entire page.

Asynchronous


Implementing AJAX