Today I was looking for a way to backup and restore Jquery event handlers based on certain condition. Unfortunately, the event itself is registered by third party jQuery plugin.

I ended up using this approach (based on an answer in stackoverflow.com) to retrieve handler array.

var handlers = $('#myElement').data('events').click;

Note: I use jQuery 1.6.2 in this case.