if (typeof jQuery != 'undefined') {
    document.write("jquery已经被加载");
} else {
    document.write("jquery没有被加载");
}

 

相关文章: