如何使用jquery动态加载js,css文件
$.extend({
includePath: ”,
include: function(file) {
var files = typeof file == ”string” ? [file]:file;
for (var i = 0; i ” + tag + ”>”);
}
}
});
//使用方法
$.includePath = ’http://hi.baidu.com/javascript/’;
$.include(['json2.js', 'jquery.tree.js', 'jquery.tree.css']);
jQuery 1.12.4是jQuery 1.x系列的最后一个正式稳定版本,由jQuery团队于2016年发布。该版本主要面向需要兼容旧版浏览器环境的网站和Web应用,尤其适用于仍需支持Internet Explorer 6、Internet Explorer 7、Internet Explorer 8等老旧浏览器的项目。
前端入门到VUE实战笔记:立即使用
在学习笔记中,你将探索 前端 的入门与实战技巧!










