I read a lot for the \'Access-Control-Allow-Origin\' error, but I don\'t understand what I have to fix :(
I\'m playing with Google Moderator API, but when I try to a
Yes, the moment jQuery sees the URL belongs to a different domain, it assumes that call as a cross domain call, thus crossdomain:true
is not required here.
Also, important to note that you cannot make a synchronous call with $.ajax
if your URL belongs to a different domain (cross domain) or you are using JSONP. Only async calls are allowed.
Note: you can call the service synchronously if you specify the async:false
with your request.