Javascript Reference
Categories: EventTarget

javascript EventTarget Description

@July 25, 2008, 2:06 p.m.
EventTarget Firefox/Netscape/NN 6 IE n/a Chrome/Safari/DOM 2  
    

The W3C DOM EventTarget object is the events module connection with nodes that actually receive events. All node objects (especially text and element nodes in an HTML document tree) implement the EventTarget object, thus giving those nodes the three methods that belong to the EventTarget object: addEventListener( ), dispatchEvent( ) , and  removeEventListener( ) . In other words, every node in a document is also an EventTarget object.


Powered by Linode.