//ownerCt当前容器对象、容器对象的集合 var collection = this.ownerCt.items; //first(),就是这个文本框 alert(collection.first().getValue());