Within a window, the following method works to call a method in another window:
fName = “parent.dhxWins.window(‘winName’)._frame.contentWindow.myMethod”;
Have tried various variations of this (e.g., fname = myMethod, fname.call(parent.dhxWins.window(‘winName’)._frame.contentWindow, true) – etc., ), but not succeeding.
The objective is for the first window to pass a callback function to the second window, and return the user’s response from the second window back to the first window, invoking the callback.
Both windows are instantiated using html, and the html contains the scripts.