Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

onoffline event

Raised when Windows Internet Explorer is working offline.

This event is not supported for Windows Store apps using JavaScript.

Internet Explorer 8

Syntax

HTML Attribute <element onoffline = "handler(event)">
Event Property object.onoffline = handler;
attachEvent Method object.attachEvent("onoffline", handler)
addEventListener Method object.addEventListener("offline", handler, useCapture)

Event information

SynchronousNo
BubblesNo
CancelableNo

Event handler parameters

pEvtObj [in]

Type: IHTMLEventObj

Standards information

There are no standards that apply here.

Remarks

If Asynchronous JavaScript and XML (AJAX) Connection Services are disabled, this event is not raised. (These services are enabled by default.)

To invoke this event, do one of the following:

  • Set the browser to "Work Offline" on the File menu.

See also

Reference
IOmNavigator::onLine
HTMLElementEvents3::ononline

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.