【发布时间】:2015-03-21 14:33:13
【问题描述】:
我正在尝试检索提要或至少获得成功,但由于某种原因它不适合我。请帮忙
$(function() {
$.ajax({
url: 'http://www.canadiantire.ca/ws/ajax_call.jsp?proc_class=com.ctc.ajax.CTCRequestAjaxHandler&action=getTabProductInfo&locale=en&pTab=1&pSku=0853086,0853694,0853693,0853076,0853082,0853662&callback=?',
type: 'GET',
dataType: 'jsonp',
jsonp: 'jsonp',
success: function(data) {
alert('success');
},
error: function() {
alert("Sorry, I can't get the feed");
}
});
});
【问题讨论】:
标签: jquery ajax json parsing jsonp