R
R
Rodion Yurchenko2016-07-06 13:36:12
JavaScript
Rodion Yurchenko, 2016-07-06 13:36:12

How to see which function is attached to a div?

Good afternoon!
There is a div on click on which the function from one of 15 js files works out
The files are huge, and just like that it’s difficult
to find a function Tell me how to find the function that works out on a click on a div ? Or at least in what file is it?
Now I'm doing this - I'm just looking for a js file for any mention of a class or id div'a
But in my opinion this is a completely wooden method
Is there really something like that in the firebug consoles or the native chrome console - you put a trigger on an element in html, and it shows what functions volunteered from there, etc.
Please tell me

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Rikcon, 2016-07-06
@Rikcon

Chrome Extension - Visual Event https://chrome.google.com/webstore/detail/visual-e...

R
Rafael™, 2016-07-06
@maxminimus

alert(div.onclick) - gives value: function string

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question