【发布时间】:2013-11-07 18:17:32
【问题描述】:
我使用 jsonP 和跨域,处理发送请求工作但我无法获得 $_GET['callback']。它返回NULL任何人帮助我。谢谢 这是我的代码
$jq.ajax({
url: url,
dataType: 'jsonP',
type : 'post',
data : data,
crossDomain: true,
beforeSend: function(){
showLoadingAnimation();
},
success: function(data){}
});
【问题讨论】:
标签: php ajax cross-domain