Ext combox에서 값 가져오기

4946 단어
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());
}
}
});

좋은 웹페이지 즐겨찾기