Birdhouse Websites and Designs

Moving Your Business ONLINE?

Contact Us Today!

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.

window.onload = function() {
    if (window.jQuery) {  
        // jQuery is loaded  
    } else {
        // jQuery is not loaded
        alert("Doesn't Work");