日期:2014-05-17  浏览次数:20501 次

怎么写mvc3+jquery+json的树形控件单击节点的单击事件啊
$("#tree").dynatree({
  fx: { height: "toggle", duration: 200 },
  persist: true,
  initAjax: {
  url: "/ResourceDirectory/JGetParentPurviews"
  }
  }); mvc3+jquery+json的树形控件 怎么写这个单击节点的单击事件啊 求大神解答下...

------解决方案--------------------
http://www.oschina.net/p/jquery_dynatree_js/


HTML code

$("#tree").dynatree({
    fx: {
        height: "toggle",
        duration: 200
    },
    persist: true,
    initAjax: {
        url: "/ResourceDirectory/JGetParentPurviews"
    },
    onActivate: function(dtnode){
    
    }
});