Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Info.] “jQuery Mobile: Common Pitfalls and Gotchas” (jQuery Conference Asia)

Featured Replies

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.