我使用 Jquery dynatree,我需要从 dynatree 事件中调用我的函数onSelect
。例子:
<script>
function fillAdditionCheckboxes(node){
....
}
$(".dynatree-wrapper", this.el).dynatree({
narrowSearchProgress : false,
clickFolderMode: 1,
checkbox: false,
children: root.children,
selectMode:1,
onSelect:function (flag, node) {
//how I can call my function ????
fillAdditionCheckboxes(node);
}
});
</script>