标签:
listeners : {
beforeselect : function(combo) {
prov = combo.getValue();
},
select : function(combo, record, index) {
if (prov != combo.getValue()) {
var area = Ext.getCmp(‘areano‘);
var county = Ext.getCmp("countyno");
areaStore.removeAll();
countyStore.removeAll();
areaStore.baseParams.provinceno = combo.getValue();
areaStore.load();
area.setValue("");
area.setRawValue("");
county.setValue("");
county.setRawValue("");
}
}
}
标签:
原文地址:http://www.cnblogs.com/mr-level/p/4648461.html