$(\"#archive\").click(function(event){ /*do something*/ }); $(\'#archive2\').unbind(\'click\',event);
i have this click function that I unbind
Why not have a boolean value and an if statement in the event handler?
if