JS โฉ browser โฉ event โฉ handler โฉ this
The value of this inside a handler is the element which has the handler on it.
this
event.currentTarget - same as "this" in event handler.
javascript.info โฉ Introduction to browser events โฉ Accessing the element: this
Last updated 2 years ago
Was this helpful?