How to close all windows

Hi,

I’d like to close all open windows when a button is clicked. Is the forEach method the best way to do this? If so, I don’t understand the documentation. What is the javascript code to use for each to close all windows?

Thanks,

Terry

Hi
There is forEachWindow handler:
docs.dhtmlx.com/doku.php?id=dhtm … chwindow&s[]=forEach