I need to find which event handlers are written on the object.
For example:
$("#el").click(function() {...}); $("#el").mouseover(function() {...}); On $("#el") , click and mouseover events are recorded.
Is there a function to find out, and is it possible to iterate over event handlers?
If this is not possible in the jQuery object using the correct methods, is it possible for a regular DOM object?
Translated from: https://stackoverflow.com/questions/2518421/