Last active
August 29, 2015 14:06
-
-
Save dacur/9ff8b98879bbed3f7c2b to your computer and use it in GitHub Desktop.
Adding a 'loading.gif' while something is happening on the page (e.g. waiting for search results).
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
| $("#searchloading").html("<img src='/assets/loader.gif' alt='loading...' />"); | |
| // then: | |
| $("#searchloading").css("display", "none"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment