jquery/jquery-mobile — Issue #2828: Origin file:// is not allowed by Access-Control-Allow-Origin - but not in IE
Author: groovq
Created: 2011-10-25 05:47:18+00:00
State: open

i'm running my app from the file system (it will run under phonegap)

I call various services returning json. my first ajax request is sucessfull (internall calling changePage), but subsequent requests (links to e.g. #page2) cause the error...

Origin file:// is not allowed by Access-Control-Allow-Origin

This occurs using Safari and firefox and Chrome (IE works fine).

i noticed that i had to set jQuery.support.cors = true in IE otherwise i would get a 'No Transport' error.
maybe its related.