Created
March 15, 2019 13:50
-
-
Save csilverman/91a5f1043e8e159b0e64f7daf67738e7 to your computer and use it in GitHub Desktop.
This file contains 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
// https://stackoverflow.com/questions/7341865/checking-if-jquery-is-loaded-using-javascript | |
$(document).ready(function(){ | |
if (jQuery) { | |
// jQuery is loaded | |
alert("Yeah!"); | |
} else { | |
// jQuery is not loaded | |
alert("Doesn't Work"); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment