ios - Ajax does not work when the app is closed and opened again -
ios - Ajax does not work when the app is closed and opened again -
i have problem phonegap build, version 3.6. have app loads content via ajax. works android emulator , compiled on android doesn't work on ios
everything works fine firts time execute app, when close app , reopen it, app hanging on ios , not load ajax's content. alert message shown, see code below:
the code is,
//carga la lista con ajax $.ajax({ type: "get", url: localjson+'?cache='+nocache, datatype: 'json', cache : false, timeout: 5000, success: function(data, status) { cargarprogram(data); }, error: function(data) { alert ("ko carga programa"); } });
i tried prevent cache , doesnt' work,
any idea, hard find going on,
thanks, best regards, cristian
ios ajax cordova
Comments
Post a Comment