Asynchronous JavaScript And XML (Ajax)
Ajax is an important technology for front end web developers.
Ajax, which is short for Asynchronous, JavaScript and XML, lets you use JavaScript to talk to a web server, retrieve information from the server, and update the content of a webpage without leaving the current page, or loading a new webpage.
Ajax requests are triggered by JavaScript code; your code sends a request to a URL, and when it receives a response, a callback function can be triggered to handle the response.
Web developers use Ajax for different purposes, to inject new HTML into a webpage, to receive JSON data from a web server, to post form data to a database.
Unfortunately, different browsers implement the Ajax API differently. Typically this meant that developers would have to account for all the different browsers to ensure that Ajax would work universally.
Fortunately, jQuery provides Ajax support that abstracts away painful browser differences.