AJAX jQuery.load versus jQuery.get

First of all those two functions are completely different. The ‘load’ function works with selectors and loads the result of AJAX call inside the selected group and the callback is to handle the “oncomplete” event of the call; while the $.get function is more general and the callback handles the success response of AJAX call where you are free to define any behavior you want. And you can find all this information just by looking at the documentation and specification of the jQuery framework.

Here you can find a good documentation.

Leave a Comment