I just made an offline iPhone webapp with the application cache.
But the AJAX-calls made with the cached JS-file don't work anymore.
It are just jQuery GET requests. They fail to work, but why?
I have internet connection, the webapp needs to update when there is internet, and when there is no internet it gets it's data from a cache.
Tried with bare bones ajax too, doesn't work... I get empty response.
Anyone know this problem, and know how to solve it?
以上就是AJAX not working with cached iPhone webapp的详细内容，更多请关注web前端其它相关文章！