jQuery find events handlers registered with an object

Posted by ages04 on Stack Overflow See other posts from Stack Overflow or by ages04
Published on 2010-03-25T18:47:08Z Indexed on 2010/03/25 18:53 UTC
Read the original article Hit count: 235

Filed under:
|
|

I need to find which event handlers an object has registered.

eg.

$("#el").click(function(){...});
$("#el").mouseover(function(){...});

Is there anyway I can use a function to find out that-
$("#el") has click and mouseover registered and possibly iterate over the event handlers.
If not a jQuery Object can we find this on a plain DOM object?

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about events