What's new? | Help | Directory | Sign in
Google
             
Search
for
Updated Oct 01, 2008 by pilgrim
Labels: about-dom, is-dom-property
NavigatorOnLineProperty  
The navigator.onLine property specifies whether the browser is working in online or offline mode.

Values

The navigator.onLine property returns a boolean.

This property is read-only.

Usage

Browser compatibility

Compatibility table legend

Test IE8 IE7 IE6 FF3 FF2 Saf3 Op9 Chrome
typeOf(navigator.onLine) != 'undefined' Y Y Y Y Y N Y N

Further reading


Sign in to add a comment