You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "jcesarmobile (JIRA)" <ji...@apache.org> on 2016/02/08 12:21:40 UTC

[jira] [Commented] (CB-10532) jQuery.load() - Origin null is not allowed by Access-Control-Allow-Origin.

    [ https://issues.apache.org/jira/browse/CB-10532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15136827#comment-15136827 ] 

jcesarmobile commented on CB-10532:
-----------------------------------

are you using the wkwebview engine plugin?

> jQuery.load() - Origin null is not allowed by Access-Control-Allow-Origin.
> --------------------------------------------------------------------------
>
>                 Key: CB-10532
>                 URL: https://issues.apache.org/jira/browse/CB-10532
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 4.0.0, 6.0.0
>         Environment: iOS
>            Reporter: Adrian Florin Florescu
>         Attachments: screenshot-1.png
>
>
> Trying to load a HTML file with jQuery from the root of the www folder gives me an error, even if allow origin is set to * in the config.xml
> XMLHttpRequest cannot load file:///var/mobile/Containers/Bundle/Application/ECC92D3C-4C93-477E-A1FB-8450F6B3A913/Vivre.app/www/images/icons/dest/index.html?_=1454600799619. Origin null is not allowed by Access-Control-Allow-Origin.
> `$( "#js-svg-inline" ).load( "./images/icons/dest/index.html #svg", function(){});`



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org