TOC PREV NEXT INDEX

Put your logo here!


target


Returns a reference to the target to which the event was originally dispatched.

Syntax

targ = event.target 

Parameters

targ is a reference to an EventTarget.

Example

d = document.getElementById("d1");  
if e.target != d 
   resetGame(); // not my event! 
 

Notes

Additional notes.

Specification

target 


mozilla DOM project | mailto:oeschger | bug 93108
TOC PREV NEXT INDEX