November 27, 201213 yr During jQuery Conference Asia, most common problems that mobile web application developers run into have been addressed by Alexander Schmitz, a formal member of jQuery Foundation as well. The presentation topic “jQuery Mobile Common Pitfalls and Gatchas” provided a numerous valuable information. Here is an example, “IM TRYING TO USE THE APPLICATION CACHE AND IT'S NOT WORKING” Some browsers return a status of zero. This causes error handlers to be triggered in jQuery's Ajax function. There is however a workaround $.ajaxPrefilter( function(options, originalOptions, jqXHR) { if ( applicationCache && applicationCache.status != applicationCache.UNCACHED && applicationCache.status != applicationCache.OBSOLETE ) { // the important bit options.isLocal = true; } }); If you want to see the entire information about the topic, go to jQuery Conference section at DaVinci Forum site. In order to download the material, you need to register for “DaVinci Forum”.
Create an account or sign in to comment