SimpleHTMLTree3.0 var simpleHtmlTree2 = new SimpleHTMLTree("treepanel1","./images/");   simpleHtmlTree2.nodeClickEvent = function(nodeId) { alert("请在此函数内部重载节点的单击事件"); var nodePanel=document.getElementById(nodeId); alert("节点id:"+nodeId); alert("节点的状态:"+nodePanel.getAttribute("menutype")); a