This seems to be a known issue of local implementation of XHR laying in the telephone gap 1.3.0. You can switch to the previous version or comment on everything in phonegap-1.3.0.js, starting from line 3551 to the end of the file
//(function(win,doc){ // // doc.addEventListener("DOMContentLoaded",function() // { // ...... // if(!docDomain || docDomain.length == 0) // { // //console.log("adding our own Local XHR shim "); // var aliasXHR = win.XMLHttpRequest; // // win.XMLHttpRequest = function(){}; // // var UNSENT = 0; // ...... // // //})(window,document);
EDIT PhoneGap 1.4.0rc1 is done
https://github.com/purplecabbage/callback-windows-phone
Changes include fixes for XHR for local files, + fixes to correctly use the functions of a single / multi-page jQM application.
source share