Let’s try to explain how Ajax works in a simple step by step description:
- User loads a web page
- An event is triggered (manually or automatically)
- The browser generates an HTTP Request to the web server
- The web server process the HTTP Request and returns a response
- The browser process the response and updates the web page content