You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Alexander Bulychev (JIRA)" <ji...@apache.org> on 2013/10/07 15:49:41 UTC
[jira] [Created] (CB-5003) Cannot load local files using ajax in
jQuery 2.0.3
Alexander Bulychev created CB-5003:
--------------------------------------
Summary: Cannot load local files using ajax in jQuery 2.0.3
Key: CB-5003
URL: https://issues.apache.org/jira/browse/CB-5003
Project: Apache Cordova
Issue Type: Bug
Components: WP8
Affects Versions: 2.9.0
Reporter: Alexander Bulychev
Assignee: Jesse MacFadyen
HI,
I'm trying to load templates in WP8 PhoneGap app using jQuery.ajax with options isLocal=true and url="x-wmapp0:www/path/to/file.html". When I use jQuery 1.* all works fine. But using jQuery 2.* ajax returns an error "Error: Access is denied." It is because ajax in 1.* in IE works using window.ActiveXObject("Microsoft.XMLHTTP"). But in 2.* it is use XMLHttpRequest.
So I cannot use jQuery 2.* with Cordova 2.9.
Are there any solutions?
--
This message was sent by Atlassian JIRA
(v6.1#6144)