Easy Tutorial
❮ Jsref Obj Array Jsref Totimestring ❯

English: #target Event Property


Definition and Usage

The target event property returns the target node of the event, i.e., the node that triggered the event, such as the element, document, or window that generated the event.

Syntax


Example

Example

The following example retrieves the element that triggered the event:


❮ Jsref Obj Array Jsref Totimestring ❯