Answers for "check if script already loaded jquery"

0

javascript if has jquery 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 December-16-2020

Code answers related to "check if script already loaded jquery"

Code answers related to "Javascript"

Browse Popular Code Answers by Language