Ext 取得combox中的值

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中的值)