Check documentation for the latest version 6.0 of dhtmlxSuite getTopmostWindow DHTMLX Docs

getTopmostWindow

returns the topmost window

object getTopmostWindow(boolean visibleOnly);

Parameters

visibleOnlybooleanenables search only in the set of visible windows

Returns

objectthe topmost window

Example

var w1 = myWins.getTopmostWindow(true/false);

Back to top