I have an html document and many js script files. How can I figure out where the js code sets an onclick event for an element? There are thousands of lines of code, and it all hurts a lot.
Here is a simple solution:
Menu
Tools
Developer Tools
Maj
CTRL
i
Command
Option
Elements
Event Listeners
.
, "Inspect Element"
Inspect Element
, : jQuery "DOM Mutation Events" ( " ".
jQuery, jQuery, , , .
: DOM