View.getWindow(windowName)
JavaScript API Reference/Ab.view.View object
View.getWindow(windowName)
Return window or frame specified by name.
Parameters:
-
windowName
(String or Window object reference): window or frame name, or one of the following predefined names:
•self
: this window object;
•opener
: window object that has opened this dialog window (use in JS code within a dialog);
•dialog
: currently opened dialog window (use in JS code within an opener window);
Example:
Get window object for the console frame in the current view.
var consoleFrame = View.getWindow('console');