ononline
Collapse the table of content
Expand the table of content

ononline event

Raised when Windows Internet Explorer is working online.

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

Internet Explorer 8

 

Syntax

HTML Attribute <element ononline = "handler(event)">
Event Property object.ononline = handler;
attachEvent Method object.attachEvent("ononline", handler)
addEventListener Method object.addEventListener("online", 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:

  • Clear the check next to "Work Offline" on the File menu.

See also

Reference
IOmNavigator::onLine
HTMLElementEvents3::onoffline

 

 

Show:
© 2016 Microsoft