我想从跨域URL获取HTML响应页面。
为此,我使用ajax请求方式,如下:
$.ajax({
type: 'GET',
url: "http://wcidevapps.com/salescentral/idisk/0001000383/iDisk",
dataType: "json",
success: function (response) {
$(response).find('li a').each(function () {
listHref.push($(this).attr('href'));
});
}
});
但是在请求后,它没有回应任何结果。