javascript - Access-Control-Allow-Origin rejection when running code on local apache server, but not when running on mobile devices -
so have project html/js app packaged in cordova (phonegap). server side updated, , im getting:
xmlhttprequest cannot load http://myip:8080/websvc.asmx/jgetwebcall. origin http://localhost not allowed access-control-allow-origin.
ive been debugging , testing in browser , deploying multiple devices additional testing, , web services still work on mobile devices.
there client access policy in place have feeling there else missing.
im doing simple ajax posts through javascript.
javascript ajax sencha-touch-2 cordova
No comments:
Post a Comment