📌  相关文章
📜  检查是否安装了 jquery - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:27.030000             🧑  作者: Mango

代码示例4
window.onload = function() {
    if (window.jQuery) {  
        // jQuery is loaded  
        alert("Yeah!");
    } else {
        // jQuery is not loaded
        alert("Doesn't Work");
    }
}