ie9上的jquery错误-访问被拒绝

ie9上的jquery错误-访问被拒绝,jquery,internet-explorer-9,onload,sorttable.js,Jquery,Internet Explorer 9,Onload,Sorttable.js,我正在使用sorttable.js脚本对html表进行排序,该.js文件的一部分是- document.write("<script id=__ie_onload defer src=javascript:void(0)><\/script>"); var script = document.getElementById("__ie_onload"); script.onreadystatechange = function() { if (this.readyS

我正在使用sorttable.js脚本对html表进行排序,该.js文件的一部分是-

document.write("<script id=__ie_onload defer src=javascript:void(0)><\/script>");
var script = document.getElementById("__ie_onload");
script.onreadystatechange = function() {
    if (this.readyState == "complete") {
        sorttable.init(); // call the onload handler
    }
};

有什么想法吗?

您正在使用哪个版本的jQuery?我确实看到了这一点:我正在使用jQuery v2.0.3您是否尝试过创建脚本元素,并将其附加到文档中?请您解释一下,我是新来的。。。。
SCRIPT5: Access is denied.

jquery.js?body=1, line 6275 character 7