SCRIPT.event (Property)

Scripts can be associated with events in the event model.

Availability:

DOM level - 1
JavaScript - 1.5
JScript - 3.0
Internet Explorer - 4.0
Netscape - 6.0
Property/method value type:String primitive
JavaScript syntax:-mySCRIPT.event

Although this is not portable, it might be very useful as a debugging aid when developing scripts.

Warnings:

Property attributes:

ReadOnly.