The only argument to this method contains the event type value. This is discussed fully in the Event.type topic elsewhere. The method returns a freshly manufactured but uninitialized Event object.
The DOM specification describes how the event should be initialized by an appropriate initialization method.
During the execution of this method, it is possible to raise a DOM exception. The only one enumerated in DOM level 2 is the NOT_SUPPORTED_ERR value.
The following event types are defined in DOM level 2:
See also: | Event.type, UIEvent.initUIEvent() |
Prev | Home | Next |
DocumentEvent | Up | DocumentFragment object |
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. |