Checking connectivity before making an Ajax callback

Uploaded on Mar 30, 2021 / 0 views / 8 impressions / 0 comments

alpha01803

More from this user

Description

If the user makes an Ajax callback and there is no internet connection, the Ajax failed event will fire after the Ajax callback times out. It can take quite a few seconds before the Ajax callback times out. It would be preferable to let the user know that Ajax callbacks are not possible before they try to make a callback. Also, in disconnected mobile applications, you might want to prevent the user from tying to synchronize data if the connection is poor.

In this video we show how this can be done.


Download component:
http://alphamediacapture.s3.amazonaws.com/videos/CheckingConnectionBeforeAjaxCallback.zip

Tags

  • No tags