Reputation: 12544
How can I access an elements event handler's with jQuery.
The following link seems to indicate that you could previously access them via $(element).data('events')
Accessing functions bound to event handlers with jQuery
But this method doesn't seem to work anymore.
Upvotes: 0
Views: 88
Reputation: 19560
$(element).data('events')
still works for me.
See here in jQ 1.5.2: http://jsfiddle.net/JAAulde/f82Ky/1/
Upvotes: 1