I'm making an Ajax.request
to a remote PHP server in a Sencha Touch 2 application (wrapped in PhoneGap).
The response from the server is the following:
XMLHttpRequest cannot load http://nqatalog.negroesquisso.pt/login.php. Origin
http://localhost:8888
is not allowed by Access-Control-Allow-Origin.
How can I fix this problem?
转载于:https://stackoverflow.com/questions/10143093/origin-is-not-allowed-by-access-control-allow-origin