Created
June 26, 2013 16:01
-
-
Save laychopy/5868696 to your computer and use it in GitHub Desktop.
Show loading message when ajax request start and then hide it when finish.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('#loading_indicator') | |
.ajaxStart(function() { $(this).show(); }) | |
.ajaxStop(function() { $(this).hide(); }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment