.target

Term side of the Card
Topic: Event
Unit title: .target
Categories: Property
Explanation side of the Card

Explanation: The browser API property that indicates the element that triggered the event. It represents the original element where the event occurred, which might differ from the element that has the event handler for this event.

Browser compatibility:
  • The chrome browser supports this feature starting from version 1
  • The edge browser supports this feature starting from version 12
  • The firefox browser supports this feature starting from version 1
  • The safari browser supports this feature starting from version 1
Availability: