Compartilhar via


ononline event

Raised when Windows Internet Explorer is working online.

This event is not supported for Windows apps using JavaScript.

 

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

Synchronous No
Bubbles No
Cancelable No

 

Event handler parameters

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