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?


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