by roeland » Wed Apr 02, 2014 8:08 am
Hi,
I am developing an app that reads content from a remote URL. The server does provide CORS headers.
The code looks like this:
var url = \"http://www.phobos7.co.uk/research/xss/simple.php\"
$.ajax({
type :\"GET\",
url: url,
async: true,
success: function(xml){
alert(url);
alert(xml);
alert(\"xml call succeed\");
}
});
However, using the emulator (3.0) nothing gets called. The success method method is called but no data is there.
If I run the same code on a regular browser, everything works fine.
Do I need to change any specific settings in the emulator to make this work?
Roeland