View events bound to an element
Snippet
Yeah, kitt finished writing this at 22:44 on 11 January 2010
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