Answers for "write a program to check jquery is loaded"

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 "write a program to check jquery is loaded"

Code answers related to "Javascript"

Browse Popular Code Answers by Language