Does anyone know of a browser plugin (Ch or FF) or perhaps a Firebug plugin, which would show me all attached event javascript handlers to currently selected DOM element? I have to debug one site that I received to take care of, with lots of spaghetti-style javascript.
Asked
Active
Viewed 58 times
0
-
Were they added by jQuery / any other framework, or are they simple DOM addEventListeners? – Aadaam Jul 29 '12 at 14:13
-
possible duplicate of [How to find event listeners on a DOM node?](http://stackoverflow.com/questions/446892/how-to-find-event-listeners-on-a-dom-node) – Purag Aug 17 '12 at 04:40
1 Answers
0
For Chrome, I guess the normal dev tool would do: http://screencast.com/t/KHKeMIj6BiDk (this is a Safari actually, but this should come with other webkit desktop browers as well)
In the meanwhile, read this stackoverflow question: How to find event listeners on a DOM node when debugging or from the JavaScript code?