被选择的节点的索引:tree.selectedNodeIndex被单击的节点的索引:tree.clickedNodeIndex获取一个节点:tree.getTreeNode(nodeIndex)在根节点下增加一个子节点: var tree = document.all[TreeView1] var node = tree.createTreeNode() tree.add(node) no