View events bound to an element
Snippet
Instead of being asleep at 22:44 on 11 January 2010, kitt created this:
View events bound to an element in jquery.
// List bound events: console.dir( jQuery('#elem').data('events') ); // Log ALL handlers for ALL events: jQuery.each($('#elem').data('events'), function(i, event){ jQuery.each(event, function(i, handler){ console.log( handler.toString() ); }); });
Add new comment