JavaScript和Jquery动态加载Js文件和Css文件
1. jQuery自身方法
$.includePath = 'http://www.cnblogs.com/javascript/';$.include(['json2.js', 'jquery.tree.js', 'jquery.tree.css']);$(function() { $("#depTree").tree({ url: "http://www.cnblogs.com/service/ES_SYSTEM.svc/DEP_INFO_Tree" }); .});