Answers for "jquery check if script is loaded if not load it"

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 "jquery check if script is loaded if not load it"

Code answers related to "Javascript"

Browse Popular Code Answers by Language