Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Please remove the answer if this is not helping/correct ... I got not enough reputation to add a comment and this is only a guess, but I had a very similar issue today:</p> <p>I was trying to get a jquerymobile thing to run in which I had an ajax request. To debug I switched to desktop chrome and it would always give me an error in the console: "XMLHttpRequest cannot load [url]. Origin null is not allowed by Access-Control-Allow-Origin."</p> <p>The reason was because I was loading the ajax from file:///some.html of some different domain. Therefore this was a cross-site issue ..</p> <p>I googled and found file:// sites (as for example if you use a phonegap made site on a mobile) do have the origin null and that issue seems to be difficult.</p> <p>Anyway, I believe this might be a lead for you. You might need to configure your server to allow crossdomain-requests.</p> <p>See this question for details <a href="https://stackoverflow.com/questions/3595515/xmlhttprequest-error-origin-null-is-not-allowed-by-access-control-allow-origin">XmlHttpRequest error: Origin null is not allowed by Access-Control-Allow-Origin</a></p> <p>See this guide for more help <a href="http://usejquery.com/posts/the-jquery-cross-domain-ajax-guide" rel="nofollow noreferrer">http://usejquery.com/posts/the-jquery-cross-domain-ajax-guide</a></p> <p>Personally I didn't try to solve this in depth as it works on my android emulator ... (I tried to set the "crossDomain" and "xhrFields" property on jquery-ajax to no avail)</p> <p>cheers</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload