DekGenius.com
Team LiB   Previous Section   Next Section
HTMLElement.onhelp the handler invoked when the user presses F1

Availability

Internet Explorer 4

Synopsis

<element onhelp="handler" ... > 
element.onhelp

Description

The onhelp property of element specifies an event handler function that is invoked when the user presses the F1 key while element has keyboard focus.

The initial value of this property is a function that contains the JavaScript statements specified by the onhelp attribute of the HTML tag that defined the element. When an event handler function is defined by an HTML attribute, it is executed in the scope of element rather than in the scope of the containing window.

After the onhelp handler function is invoked, Internet Explorer 4 displays the built-in help window.

    Team LiB   Previous Section   Next Section