解决方法
这是可能的,如果你不使用匿名回调:
var $elt = $(...); function clickHandler1(event){...} function clickHandler2(event){...} // bind both $elt.click(clickHandler1); $elt.click(clickHandler2); // unbind just the first $elt.unbind('click',clickHandler1);
A wild Demo appeared!@H_403_9@
参见:.unbind()
docs。@H_403_9@