Availability: |
| |||
Property/method value type: | Boolean primitive | |||
JavaScript syntax: | IE | myObject.onhelp = aHandler | ||
HTML syntax: | <BODY onHelp="..."> <FRAMESET onHelp="..."> <HTMLTag onHelp="..."> | |||
Argument list: | aHandler | A 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.
Prev | Home | Next |
onForward | Up | onKeyDown |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |