$.ajax({
async: true,
dataType: 'xml',
url: URL,
success: function (data) {
div.innerHTML = new XMLSerializer().serializeToString(data.documentElement);
},
error: function(XMLHttpRequest, textStatus, errorThrown) {
console.log("" + errorThrown);
}
});
No comments:
Post a Comment