Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by mychennai on Mar 30, 2009 06:51
open dhtmlx forum
closing dhtmlxwidows internally

Hi,
I would like to close the window from html (dhtmlxwindows). I am using a dhtmlxwindows and I am attaching a tabbar. In the tabbar, I am referring a html with a button. When I tried to click the button, I am not able to close the dhtmlxwindows. Previously I was able to close the window, if I refer the html directly from dhtmlxwindows instead of tabbar. Please help.
Answer posted by Alex (support) on Mar 30, 2009 06:58

Hello, 

Which loading mode do you use for tabbar ?

If "iframes" is used, you should take into consideration the parent window object:

parent.win.close();

 

Answer posted on Mar 30, 2009 22:33
I am using a php script to output a html and not using any iframes.
Answer posted by Alex (support) on Mar 31, 2009 06:22
If you don't use iframes mode for tabbar, win.close() must close the window. Please, provide the sample where we can reproduce the problem