jquery ajax add loading

Solutions on MaxInterview for jquery ajax add loading by the best coders in the world

showing results for - "jquery ajax add loading"
Claudio
01 Oct 2016
1var $loading = $('#loadingDiv').hide();
2$(document)
3  .ajaxStart(function () {
4    $loading.show();
5  })
6  .ajaxStop(function () {
7    $loading.hide();
8  });
9