Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Dec 24, 2009 00:43
open dhtmlx forum
Window Close

Hi

Iam creating a dhtml window.Inside that iam displaying a html page using attachurl..

In my html page there is a button called submitOnclicking the submit button iam doing some validations using script.i fits successful then it will close the window also...but How to achieve the close functionality while the button is already calling a js for validations?
Answer posted by Alex (support) on Dec 24, 2009 01:08

Hello,

you can try to call the following method:

parent.dhxWins.window(winId).close();

Please, see the sample in the component package dhtmlxWindows/samples/01_init/12_inner_close.html