AJAX communicates with the server using XMLHttpRequest object.
User sends a request.HTTP Request is sent to the server by XMLHttpRequest object.Server interacts with the database using PHP etc.
Data is retrieved.Server sends to the XMLHttpRequest callback function.Finally HTML and CSS data is displayed on the browser.
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.