Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-5003

Cannot load local files using ajax in jQuery 2.0.3

    XMLWordPrintableJSON

    Details

      Description

      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?

        Attachments

          Activity

            People

            • Assignee:
              purplecabbage Jesse MacFadyen
              Reporter:
              ibat Alexander Bulychev
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: