Mega Code Archive
To unbind just one previously bound handler, pass the function in as the second argument
var foo = function () {
// event handler
};
$("p").bind("click", foo); // foo is binded
$("p").unbind("click", foo); // foo is no longer binded