var nodes = $('#basetree').tree('getChecked'); var cnode = ''; var fnode = ''; for ( var i = 0; i < nodes.length; i++) { cnode = nodes[i].text+nodes[i].id; fnode = $('#basetree').tree('getParent', nodes[i].target); alert(fnode.id); } var a = $(&quo
#/usr/bin/python import os def travelTree(currentPath, count=0): if not os.path.exists(currentPath): print "no current Path" return if os.path.isfile(currentPath): fileName = os.path.basename(currentPath) print " "*count + "|_ &qu