I want to perform few operations after the loading of iframe is completed.
I have tried by adding the afterrender
event listener, but after render event fires when the window is opened not when the content is fully loaded.
new window.Ext.create('Ext.window.Window', {
title: 'Popup',
height: 630,
width: 1050,
modal: true,
layout: 'fit',
closeAction: 'close',
items: [
{
xtype: "component",
autoEl: {
tag: "iframe",
frameborder: 0,
src: "http://www.yahoo.com"
},
id: "frametoShow"
}
]
});
Is there any event which fires when the content of the frame is fully loaded ?
I'd also go with jQuery solution as well.
Any help would be appreciated.