共用方式為


onhelp event

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

Syntax

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

Standards information

There are no standards that apply here.

Remarks

Firing the HTMLInputImageEvents2::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: