var cs=this._children; dojo.forEach(cs,function(c){ if(p!=c && c['attr']){ c.attr('checked',false); } });