It seems that with bind in jQuery you can have more control over events and handlers, such as in this example, from http://api.jquery.com/unbind/
var myHandlers = {}; myHandlers.handler = function() { alert('The quick brown fox jumps over the lazy dog.'); }; $('#foo').bind('click', handler); $('#foo').unbind('click', handler); delete(myHandlers.handler);
But I don't know if it is possible to control using the standard jQuery syntax for $ ('a'). click (), since everything returned is a jQuery object and does not refer to handlers or events.
Stack overflow issues are discussed here:
javascript memory leaks
Tom gruner
source share