How To Check If Internet Connection Exists In jQuery & Javascript

1 · Subin Siby · Oct. 18, 2013, 1:58 p.m.
If you are running an app on the web that requires Internet Connection all the time, sometimes the internet connection will fail on the client side and your app won’t properly work. The best example is the New Tab Chrome Apps that will display the URL icons grayscale when offline and will make the icons back to color when online. To check whether the client’s internet connection is online, we use jQuery....