Detecting Handlers of a jQuery "Live" Event
- by Anderson De Andrade
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?