/ Published in: jQuery
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$('#loader').ajaxStart(function() { $('#loader').removeClass('hidden'); }).ajaxStop(function() { $('#loader').addClass('hidden'); });