0
我在使用getScript在jquery加载完成时触发脚本。仅在某些页面上停止加载脚本
$(document).ready(function() {
$.getScript("js/hscroll.js");
});
当一个项目完成后,我可以创造与其他功能:当一个项目加载
$(document).bind("projectLoadComplete", function(e, pid){
// turn off script
});
我如何关闭hscroll.js脚本?
感谢
可能重复? http://stackoverflow.com/questions/4669065/unload-files-loaded-with-getscript – Zakaria 2012-01-14 17:55:25
所以这是不可能的/不应该做的。我想删除这个脚本的影响。 – uriah 2012-01-14 18:03:34