onHelp (Event handler)

The user has pressed the [F1] key or selected [help] from the toolbar or menu.

Availability:

JScript - 3.0
Internet Explorer - 4.0
Property/method value type:Boolean primitive
JavaScript syntax:IEmyObject.onhelp = aHandler
HTML syntax:<BODY onHelp="..."> <FRAMESET onHelp="..."> <HTMLTag onHelp="...">
Argument list:aHandlerA reference to a function object to handle the event
Supported by objects:A, ACRONYM, ADDRESS, Anchor, APPLET, AREA, B, BIG, BLOCKQUOTE, BODY, BUTTON, CAPTION, CENTER, Checkbox, CITE, CODE, DD, DEL, DFN, DIR, DIV, DL, Document, DT, EM, FIELDSET, FileUpload, FONT, FORM, H1, HR, I, IMG, Input, INS, KBD, LABEL, LEGEND, LI, LISTING, MAP, MARQUEE, MENU, OBJECT, OL, P, Password, PLAINTEXT, PRE, Q, RadioButton, ResetButton, S, SAMP, Select, SMALL, SPAN, STRIKE, STRONG, SUB, SubmitButton, SUP, TABLE, TBODY, TD, TEXTAREA, TextCell, TFOOT, TH, THEAD, TR, TT, U, UL, Url, VAR

This handler is invoked if the [F1] key is pressed or the [help] item is selected from the menu while the Element object has the input focus.

This handler is particularly applicable to the <BODY> and <FRAMESET> tags and will be defined for Element objects that correspond to them.

In MSIE, after this event has been handled, the built-in help window will be displayed. This can be suppressed by passing the value false back rather than true. Passing no value back defaults to true.

Warnings:

See also:Element object, Event, Event handler, Event model, Event names, Event object, Event.returnValue, Handler, Semantic event