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