Not sure this is in the right forum... ?
(Can an admin move it to the Help section if this is wrong? Thanks.)
I'm using an ManagedIFrame object, and I need to be able to call JS within the document displayed within the IFrame from the parent page.
The MIF is added inline to a panel like so:
My solution was to use MIF.getDocument() so that I can call the JS within the IFrame's page. To get the MIF I use:
On this I get a 'getDocument' is not defined error. Checking in Firebug, Ext.get has returned an object, but it appears to be a panel, and not a MIF - hence getDocument isnt available.
var mif = Ext.get('mif1');
doc = mif.getDocument();
Is this method flawed/will it not work with a MIF? Is there any other solution?