阅读背景:

从服务器获取XML响应中的解析错误

来源:互联网 

The Following is my code..

以下是我的代码..

$.ajax({
    type: 'GET',
    url: server_url,
    dataType: 'jsonp',
    crossDomain: true,
    contentType: 'xml',
    success: function(data) {
        xmlDoc = parser.parseFromString(data, "text/xml");
    },
    error: function(xhr, status, error) { 
        console.log(status);
        console.log(error);
    },
});
$.ajax



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: