jQuery stores the handlers on the element in an expando property. You can loop through this property to see which handlers are there.
var element = $('#someElement')[0]; for ( var type in element.$events ) for ( var handler in element.$events[type] ) console.log( 'type: ' + type + ' handler: ' + handler ); Note that in older versions of jQuery the $events expando is actually just events (without the $). As a side note you might find this short post interesting: http://www.learningjquery.com/2007/03/selecting-elements-by-properties-and-dom-expandos -- Brandon Aaron On 4/26/07, Starbow <[EMAIL PROTECTED]> wrote:
Does anyone know if there is an easy way to see what handlers are attached to a given element? thanks, -tao