-1
javascript函數使用jQuery dynatree,我需要從dynatree事件onSelect
打電話給我的功能。 例子:如何調用outter從dynatree事件
<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>