A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://webplatform.github.io/docs/dom/Event/target below:

target ยท WebPlatform Docs

target Summary

Gets the element that is the original target of the event.

Property of dom/Eventdom/Event

Syntax

Note: This property is read-only.

var originalTargetElement = event.target;
Return Value

Returns an object of type DOM NodeDOM Node

The original target element of the event.

Usage
 Use this property to determine the original element on which the event was dispatched.
Notes

The currentTarget property returns the element that the event handlers are being processed for during the capturing and bubbling phases.

Related specifications
DOM Level 3 Events
Working Draft
See also Related pages Attributions

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4