Loading...
Ajax is a technique for creating better, faster, and more interactive web applications.
Suppose your daily use social media app. The full-page loads for the first time. Then you like someone's post So, post-like count data will be sent to the server and the page reloads again with new like data. Which makes the user experience bad? Every time you update data or add data on any part of your page, your full page will reload. So, to solve this problem in a better, faster, and more interactive way, AJAX was introducted.
AJAX stands for Asynchronous JavaScript And XML. It is not a programming language or tool, rather it is a technique for creating better, faster, and more interactive web applications with the help of XML, HTML, CSS, and JavaScript.
Suppose you like any post this time. But the full page will not reload. Rather only like part will reload with new data. Everything will be processed in the background.
I hope this will help you to understand how AJAX work. If want to learn more about AJAX then visit w3schools. Please share this post if you find it useful.