functionloadJs(file){var head =$("head").remove("script[role='reload']");$("<scri"+"pt>"+"</scr"+"ipt>").attr({
role:'reload',src:file,type:'text/javascript'}).appendTo(head);}
ajax不刷新页面,只重新加载js文件的方法重新加载js文件给js定个id,重新加载jquery的就直接使用getScript重新加载js文件function loadJs(file){ var head = $("head").remove("script[role='reload']"); $("&lt;scri"+"pt&gt;"+"&lt;/scr"+&q