Detecting Handlers of a jQuery "Live" Event

Posted by Anderson De Andrade on Stack Overflow See other posts from Stack Overflow or by Anderson De Andrade
Published on 2010-05-22T07:31:48Z Indexed on 2010/05/22 7:40 UTC
Read the original article Hit count: 210

Filed under:
|
|
|
|

Using:

$('#foo').data('events').click

We are able to access an iterative object of click handlers added to the element '#foo' but only when they were added with .bind()

Is there a way to get the handlers for an event added with .live()?

Is there any other way to know if an element has a click handler assigned?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about jQuery