Ext.namespace("webbook.author.comboBox")
JS中相当于创建了三个对象: (类似于JAVA包)
webbook={};
webbook.author={};
webbook.comboBox={};
对像赋值:
webbook=["t","v"];
webbook.author.comboBox=[["t1","v1"],["t2","v2"]];
webbook.author.comboBox.level=[....] //定义"对象.变量"赋值,但不能webbook.author.comboBox.level.name=[..],因为level不是对象.
......
posted on 2009-04-01 12:32
紫蝶∏飛揚↗ 阅读(910)
评论(0) 编辑 收藏 所属分类:
EXTJS