FileTypes.prototype.xxxx = 来添加成员呢 ?

解决方案 »

  1.   

    tryfunction FileTypes()
    {
        this.restriction = function()
        {
            UIDependent(this.controls[2],this.controls[1]);
            UIDependent(this.controls[3],this.controls[1]);    
            UIDependent(this.controls[4],this.controls[3]);
        }
        this.controls = constructControls(fileTypesArray); //调用一方法构造页
                                                           //面控件数组
        addRestriction(this.controls,this.restriction);
    }
      

  2.   

    已用过Function中的argument,callee,prototype,好象都不行