jQuery provides wrapper functions that offer a bit cleaner interface to send AJAX requests. In jQuery, the
XMLHttpRequest object is replaced by the
jqXHR object, which is a jQuery version with a few additional methods to support the jQuery AJAX wrapper functions. The following is a list of the jQuery AJAX wrapper functions:
.load(url [, data ] [, success(data, textStatus, jqXHR) ] )—This method is used to load data from the server directly into the elements represented by jQuery object.
.getScript (url [, data ] [, success(data, ...