Event.currentTarget (Property)

A reference to the object whose listener is being called with the receiving Event object.

Availability:

DOM level - 2
JavaScript - 1.5
Netscape - 6.0
Opera - 5.0
Property/method value type:EventTarget object
JavaScript syntax:NmyEvent.currentTarget

This is a useful property which provides a means of sharing listener scripts between several event handlers. You can then determine which one of several objects was the EventTarget that had the event dispatched to it.

Property attributes:

ReadOnly.