var combo = new Ext.form.ComboBox({
width: 127 ,
height: 50 ,
renderTo: ' div_com ' ,
mode: ' remote ' ,
triggerAction: ' all ' ,
id: ' filiale ' ,
name: ' filiale ' ,
value: ' 请选择.. ' ,
allowBlank: false ,
handleHeight: 5 ,
listWidth : 150 ,
maxHeight: 100 ,
readOnly: true ,
valueFiled: ' fid ' ,
displayField: ' title ' ,
store: new Ext.data.JsonStore({
url: ' ../../MyPages/Colligate/UploadFiliale.aspx?id= ' + encodeURI(v),
root: ' data ' ,
fields: [ ' title ' , ' fid ' ]
}),
listeners:{
' select ' : function (arg){
var d = arg.value;
alert(Ext.get( " filiale " ).dom.value);
alert(Ext.getCmp( " filiale " ).getValue());
}
}
});
Ext 取得combox中的值
最新推荐文章于 2016-12-02 11:29:07 发布