Juery 动态移除js、动态添加js
//动态移除xuexi.js
$(document).ready(function () { $("script[src*='xuexi.js']").remove() });
//动态添加xuexi.js
$(document).ready(function () { $("<scri" + "pt>" + "</scr" + "ipt>").attr({ src: '/zh-cn/js/xuexi.js', type: 'text/javascript', id: 'load' }).appendTo($('head')); });