ext.window 关闭之前事件 父页面 var downloadstyle=new Ext.Window({ id:'downloadstyle', modal: true,//true为模式窗口,后面的内容都不能操作,默认为false width: 664, height: 750, x:300, y:50, draggable:true,//是否可
var downloadstyle=new Ext.Window({
id:'downloadstyle',
modal: true,//true为模式窗口,后面的内容都不能操作,默认为false
width: 664,
height: 750,
x:300,
y:50,
draggable:true,//是否可以拖动,true表示可以拖动,默认为false
resizable:false,//布尔类型,用户是否可以调整窗体大小,默认值为true表示可以调整大小。
layout: 'fit',
plain : true, //true则主体背景透明,false则主体有小差别的背景色,默认为false
autoScroll:false,
listeners:{
beforeclose:function(win) {
childbatch.window.childFunction(0); //childbatch是iframe的name
return true;
}
},
html: ''
});
downloadstyle.show();
ext.window 关闭之前事件 子页面
function childFunction(var1){
alert(var1);
}
