Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要onSelect在我的 Dynatree 中取消绑定/关闭事件,我该怎么做?如果这是我的树视图对象:
onSelect
$("#MenuTree").dynatree("getTree")
$("#MenuTree").dynatree("getTree").options.onSelect = null
这将取消绑定您在选择节点时调用的函数。