Answers for "how to know if i am using jquery"

2

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");
    }
}
Posted by: Guest on May-18-2020

Code answers related to "how to know if i am using jquery"

Code answers related to "Javascript"

Browse Popular Code Answers by Language