I am creating a popup window using the following code :
var window = Ext.create('Ext.window.Window',{
title : headerMsg,
width : 350,
me:me,
height : 250,
layout : 'fit',
plain : true,
name : 'exportWin',
id : 'exportWin' + (++eWin),
buttonAlign : 'center',
items : [{
xtype : 'box',
autoEl : {
tag : 'iframe',
src : url,
id : eWin,
name : 'ExportFrame',
height : '100%',
width : '100%',
style : 'cursor:pointer;top:10px'
}
}
]
});
window.show();
Everything is working fine and now I need to get the id in the newly opened browser.
I tried window.id, self.id and this.id but nothing works. but window.name is working it is alerting 'ExportFrame' as expected but window.id is not alerting 'eWin' variable it is alerting as undefined Thanks in advance !