dthmlxwindows inner closing


I am using dhtmlx windows within a php application… i have opened a window and it is running fine… when i try to close the window from within itself using closeWindow(); just like in the samples…

i get… closeWindow is not defined…

What am i doing wrong?


The sample dhtmlx.com/docs/products/dhtmlxW … close.html demonstrates inner close in case of iframe.

Here closeWindow function is defined on the page that is loaded into iframe.

Please, provide the sample that allows to reproduce the issue. As you can see the sample in the documentation works correctly.