Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Richard Gustin on Apr 29, 2009 14:20
open dhtmlx forum
dthmlxwindows inner closing

Hello,

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?
Answer posted by Alex (support) on Apr 30, 2009 01:04

Hello, 

The sample http://dhtmlx.com/docs/products/dhtmlxWindows/samples/init/inner_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.