The Goal:
Verify whether jQuery is installed using JavaScript

Sometimes you’re troubleshooting and just want a quick and easy way to make sure your jQuery is loading in the first place. This script will check for you and let you know if jQuery is installed and ready to rock.


  • JavaScript

Original Source


Add this to your custom scripts.

[cc lang=”javascript”]
window.onload = function() {
if (window.jQuery) {
// jQuery is loaded
} else {
// jQuery is not loaded
alert(“Doesn’t Work”);
Share This