var url = "???";
var param = {
"name":name
};
$.post(url,param,function(data){
console.log(data);
});
我这样发post请求有问题嘛,为什么报一个我看不懂的错
No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access.
...全文
31110打赏收藏
jQuery POST请求报错
var url = "???"; var param = { "name":name }; $.post(url,param,function(data){ console.log(data); }); 我这样发post请求有问题嘛,为什么报一个我看不懂的错 No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed acc