In the last few years, AJAX has crept onto websites and slowly become the
way to create dynamic, user-friendly, responsive websites. AJAX is the
technology that lets you update the contents of a page without actually
having to reload the page in the browser. For example, Google Docs
utilizes this technology when saving your work every few minutes.

While there are a number of ways to use AJAX in WordPress — and all are “correct,” in the loose sense of the word — there is one method that you should follow for a few reasons: WordPress supports it, it is future-proof, it is very logical, and it gives you numerous options right out of the box.
While there are a number of ways to use AJAX in WordPress — and all are “correct,” in the loose sense of the word — there is one method that you should follow for a few reasons: WordPress supports it, it is future-proof, it is very logical, and it gives you numerous options right out of the box.
