EventException.code (Property)

A property containing a code value that indicates which one of the available set of exceptions has occurred.


DOM level - 2
JavaScript - 1.5
Netscape - 6.0
Property/method value type:Number primitive
JavaScript syntax:NmyEventException.code

At DOM level 2, the event model only supports a single UNSPECIFIED_EVENT_TYPE_ERR code value.

It is expected that other exception values will be defined in subsequent levels of the DOM standard as they are released.