Required library edition:
Required library file: dhtmlxwindows.js
iterator - goes through all windows and calls a user handler
dhxWins.forEachWindow(function(){ // code here }); // or function doWithWindow(){ // code here }); dhxWins.forEachWindow(doWithWindow);