I want to send out a javascript call from window B which is the child of Window A.
Lets say we have a window A with the js for the same being ajs.js and window B with the js for it being bjs.js
Window B opens within the container of Window A.
How can one send out a call from bjs.js to a ajs.js function?
Ext js 3.0/3.4
Windows 7
If both windows are in the same domain, you can declare a method foo() on your parent, and call it in the child with
In the parent:
From the child window:
If they are not in the same domain, you won’t be able to do this. Depending on the version of your browser, you can you can use the window.postMessage method to pass information between windows.