什么"节点",我也没有见过,不过好像是说id为0,parentid为-1.......好像应该是赋值的吧,但是不知道在什么地方用.好像和什么树有关系.

解决方案 »

  1.   

    这是个类
    function TreeView()
    {
    this.id = window.TV.length;
    window.TV[this.id] = this;
    this.target = "_self";
    this.showLeaf = true;
    this.showAll = true;
    this.Nodes ={ 0 : { ID : 0, ParentID : -1, Text : null, Href : null, Image : null, childNodes: new Array() } };
    }
      

  2.   

    应该没有关系的,我试的两台机器都是MSIE 6.0.28.1106 ,并且安装的补丁都一样。
    但就是其中一台可以运行成功,但另一台就不行了。
      

  3.   

    您可以到Google上搜一下呀,这方面的资料还是多的..但一定要有耐心...楼主加油了!!!!!
      

  4.   

    返回一个数组对象
    ID = 0
    ParentID = -1
    Text = null
    Href = null
    Image = null
    childNodes= new Array()
    而 0 里就包含了这些内容
    var t = new TreeView();
    t.0.ID=0
    t.0.Text=null
      

  5.   

    this.Nodes = temp0;function temp0(0) {
      is.0 = temp1;
    }
    function temp1(ID, ParentID, Text, Href, Image) {
      this.ID = ID;
      this.ParentID = ParentID;
      this.Text = Text;
      this.Href = Href;
      this.Image = Image;
      this.childNodes = new Array();
    }