cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Bulychev (JIRA)" <>
Subject [jira] [Created] (CB-5003) Cannot load local files using ajax in jQuery 2.0.3
Date Mon, 07 Oct 2013 13:49:41 GMT
Alexander Bulychev created CB-5003:

             Summary: Cannot load local files using ajax in jQuery 2.0.3
                 Key: CB-5003
             Project: Apache Cordova
          Issue Type: Bug
          Components: WP8
    Affects Versions: 2.9.0
            Reporter: Alexander Bulychev
            Assignee: Jesse MacFadyen


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

View raw message