对应前面几篇文章 添加 编辑删除的调用
function selectNode(id){d.openTo(id,true);}
function getSelectID(){alert(d.getSelected());}
function addNewNode(){d.add(202,100,'Node 1.1.2.2',"javascript:showTab('2','202');javascript:window.close();");d.show('dtree');d.openTo(202,true);}
function delNode(){d.del('dtree',303);}
function editNode(){
d.edit('dtree',303,100,'Node 1.2修改过的','example01.html');
d.openTo(303,true);
}
function selectNode(id){d.openTo(id,true);}
function getSelectID(){alert(d.getSelected());}
function addNewNode(){d.add(202,100,'Node 1.1.2.2',"javascript:showTab('2','202');javascript:window.close();");d.show('dtree');d.openTo(202,true);}
function delNode(){d.del('dtree',303);}
function editNode(){
d.edit('dtree',303,100,'Node 1.2修改过的','example01.html');
d.openTo(303,true);
}