Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to check if jquery is loaded

window.onload = function() {
    if (window.jQuery) {  
        // jQuery is loaded  
        alert("Yeah!");
    } else {
        // jQuery is not loaded
        alert("Doesn't Work");
    }
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #check #jquery #loaded
ADD COMMENT
Topic
Name
1+9 =