Javascript Reference
Categories: document

javascript document captureEvents( )

@April 4, 2009, 2:24 a.m.
captureEvents( ) Firefox/Netscape/NN 4 IE n/a Chrome/Safari/DOM n/a

captureEvents(eventTypeList)

 

Instructs the browser to grab events of a specific type before they reach their intended target document objects. The object invoking this method must then have event handlers defined for the given event types to process the event. Although this method is part of the Navigator 4 event model, it continues to be supported in Netscape 6, creating the equivalent of a W3C DOM capture-mode event listener for the document object. Continue to use this method if you must support Navigator 4, but migrate new code to the W3C DOM event listener syntax.

 
Parameters
 
eventTypeList

A comma-separated list of case-sensitive event types as derived from the available static Event object constants, such as Event.CLICK or Event.MOUSEMOVE.

 
Returned Value

None.

 


Powered by Linode.