三种动态加载js的jquery实例代码另附去除js方法

复制代码 代码如下:

!-- 这里为你提供了三种动态加载js的jquery实例代码哦,由于jquery是为用户提供方便的,所以利用jquery动态加载文件只要一句话$.getscript("test.js");就ok了。





jquery 动态加载js三种方法








jquery去除js
复制代码 代码如下:

$("script[src='../static/js/cpu_memory.js']").remove();
$("script[src='../static/js/wan_flow.js']").remove();

你可能感兴趣的:(三种动态加载js的jquery实例代码另附去除js方法)