标签:io ar sp on bs cti tt new nbsp
/////定義一個方法,用來調用win_mucangjieshou的窗口
var panel_contant= function(id_name){
var aa=Ext.getCmp(id_name).getText();
//alert(aa);
public_gg=aa;
win_mucangjieshou.show();
}
//定義button
function CrateButton(id){
var btn=new Ext.Button({
height:80,
width:458,
id:id,
text:id,
handler:function(){
panel_contant(id);
}
})
return btn;
}
Extjs 3.4 生成button,并調用相同的window
标签:io ar sp on bs cti tt new nbsp
原文地址:http://www.cnblogs.com/smallman/p/4155441.html