initEvent
The initEvent method is used to initialize the value of an Event created through the DocumentEvent interface.
Syntax
event.initKeyEvent(type, bubbles, cancelable)Parameters
type bubblesA boolean indicating whether the event should bubble up through the event chain or not (see bubbles).
cancelableA boolean indicating whether the event can be canceled (cancelable).
Example
Notes
Events initialized in this way must have been created with the DocumentEvent interface method createEvent(). This method must be called to set the event before it is dispatched.
Specification
initEvent
Netscape Communications http://developer.netscape.com |