onhelp event

Fires when the user presses the F1 key while the client is the active window.


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

Event information

Synchronous No
Bubbles Yes
Cancelable Yes

Event handler parameters

  • pEvtObj [in]
    Type: [IHTMLEventObj](aa703876(v=vs.85).md)

Standards information

There are no standards that apply here.


Firing the HTMLScriptEvents::onhelp event opens an online Help window.

To invoke this event, do one of the following:

  • Press the F1 key.

The pEvtObj parameter is required for the following interfaces: