* Parent function: multiCreateCallback()
- Child JS code to access multiCreateCallback
var windowCmp = parent.Ext.getCmp('workflowTaskWindow');
var frameVar = windowCmp.getEl().dom.getElementsByTagName("iframe");
console.log("Frame test: "+ frameVar.contentDocument.frames.multiCreateCallback());
No matter what combination I use with frameVar, I can't seem to reach the callback function. 'contentDocument.frames' says undefined
'contentWindow.document.multiCreateCloseCallback()' also gives 'undefined' as error.
'parent.multiCreateCloseCallback();' - gave the error as - Uncaught TypeError: undefined is not a function
Is there any way to handle the code such that we can reach the callback function defined in the parent JSP?
Thanks in advance!