$(\"#archive\").click(function(event){ /*do something*/ }); $(\'#archive2\').unbind(\'click\',event);
i have this click function that I unbind
As of jQuery 1.7 you should use on and off for all your event handler binding:
var handler = function() { alert('The quick brown fox jumps over the lazy dog.'); }; $('#foo').on('click', handler); $('#foo').off('click', handler);