onLine Property

Internet Development Index

Retrieves a value indicating whether the system is in global offline mode.

Syntax

[ bOnLine = ] object.onLine

Possible Values

bOnLineBoolean that receives one of the following values.
trueSystem is not in global offline mode.
falseSystem is in global offline mode.

The property is read-only. The property has no default value.

Remarks

The user can modify the global offline state by choosing Work Offline from the File menu in Microsoft® Internet Explorer version 4.0 or later. This property does not indicate whether the system is connected to the network.

Standards Information

There is no public standard that applies to this property.

Applies To

clientInformation, navigator