Gets the element that is the target of the event.
![]() |
Syntax
| JavaScript | |
|---|
Property values
Type: Object
The original event target.
Standards information
Remarks
The target property returns the element that originally received the event. However, the currentTarget property returns the element that the event handlers are being processed for during the capturing and bubbling phases.
See also
- SVGZoomEvent
- BeforeUnloadEvent
- CompositionEvent
- CustomEvent
- Event
- DragEvent
- FocusEvent
- KeyboardEvent
- MessageEvent
- MouseEvent
- MutationEvent
- StorageEvent
- TextEvent
- UIEvent
- Reference
- currentTarget
- eventPhase
Build date: 11/29/2012
