var foo = function () { // event handler }; $("p").bind("click", foo); // foo is binded $("p").unbind("click", foo); // foo is no longer binded