Dimitris Kougioumtzis Blog About technology

Jquery AjaxStart and AjaxEnd bind

Category jquery

Posted on July 14, 2018



Jquery bind AjaxStart and AjaxEnd to document ready function


1
2
3
4
5
6
7
$(document).ready(function(){
      $(document).ajaxStart(function() {
             $('#loading').fadeIn(500);
       }).ajaxStop(function() {
              $('#loading').fadeOut(500);
       });
})

About

My name is Dimitris Kougioumtzis and i work as a Web developer at Rapidbounce Company

Elsewhere