JQuery .load() function silently fails when offline

Posted by edoloughlin on Stack Overflow See other posts from Stack Overflow or by edoloughlin
Published on 2010-05-17T13:56:59Z Indexed on 2010/05/17 14:00 UTC
Read the original article Hit count: 223

Filed under:
|
|
|
|

I'm trying to write an iPhone offline webapp using jqtouch/jquery. When I disable my connectivity, it looks like the jquery .load() function silently fails and doesn't even call its callback function. I've set $.ajaxSetup ({cache: true}); but it seems to have no effect. I also have my manifest file etc. working fine - the only issue is the .load() function.

Any ideas?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about webapp