N
N
Nikolai Chuprik2018-10-16 11:26:06
JavaScript
Nikolai Chuprik, 2018-10-16 11:26:06

How to see hung event handlers on an element in the browser debugger?

Inspecting page elements in the debugger (Chrome). How to see hooked events on an element? The Elements->Event Listeners section shows only those handlers that were originally written in the html. And how to see those that have been hung by scripts to this point with the help of any addEventListener?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
Ivan GiBSON, 2018-10-16
@gibson_dev

In chrome, highlight the element in the debugger and on the right 3 tab
5bc5a24e17ba8246946926.png

S
Stalker_RED, 2018-10-16
@Stalker_RED

In firefox it is very convenient to do this.
CKpzE8.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question