ajax的秘密

$.ajax({
            url : _url,
            type : 'GET',
            dataType : 'html',
            xhrFields: {
                withCredentials: true
            },
            success : function(result){
                $(dom).html(result);
            }
        });

原文地址:https://www.cnblogs.com/Sugar-bingyuan/p/5160514.html