日期:2014-05-16 浏览次数:20313 次
function getPathText(node){ var s=node.name; while(node=node.getParentNode())s=node.name+'/'+s; return s; } var setting = { callback:{ onCheck:function(event,treeid,treeNode){ alert(getPathText(treeNode)) }} };