Question: how ajax call works in jquery?
Answer: It uses a browser's built-in XMLHttpRequest (XHR) functionality to make a request to the server and then handle the data that the server returns. jQuery provides the $. ajax method — and several convenience methods — to make it easier to work with XHRs across browsers.