解决不能在本地使用JQuery load的方法

    $.ajaxSetup({
        xhr: function () {
            if ("ActiveXObject" in window) {
                return new ActiveXObject("Microsoft.XMLHTTP");
            }
            else {
                return new XMLHttpRequest();
            }
        }
    });

 

posted @ 2017-10-11 21:47  Aeolia  阅读(992)  评论(0编辑  收藏  举报