I\'m making an Ajax.request to a remote PHP server in a Sencha Touch 2 application (wrapped in PhoneGap).
Ajax.request
The response from the server is the following:
You may make it work without modifiying the server by making the broswer including the header Access-Control-Allow-Origin: * in the HTTP OPTIONS' responses.
Access-Control-Allow-Origin: *
In Chrome, use this extension. If you are on Mozilla check this answer.