Check if Internet Connection Exists with Javascript?

Posted by viatropos on Stack Overflow See other posts from Stack Overflow or by viatropos
Published on 2010-03-05T02:23:21Z Indexed on 2010/03/11 21:29 UTC
Read the original article Hit count: 646

How do you check if there is an internet connection using Javascript? That way I could have some conditionals saying "use the google cached version of JQuery during production, use either that or a local version during development, depending on the internet connection".

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about internet-connection