how to close a dhtmlxwindow with a response page ?

Hi

I am using dhtmlxwindows





dhxWins = new dhtmlXWindows();

dhxWins.enableAutoViewport(true);        

dhxWins.setImagePath("…/dhtmlxSuite/dhtmlxwindows/codebase/imgs/");



in the document I am usin a function to create a window



function createWindow(userid)

     {        



        var win = dhxWins.createWindow(“ven1”,200,200,300,300);

dhxWins.window(“ven1”).setText(“user is debt”);

        dhxWins.window(“ven1”).setModal(true);

        dhxWins.window(“ven1”).denyResize();

        dhxWins.window(“ven1”).center();

        dhxWins.window(“ven1”).allowMove();

        dhxWins.window(“ven1”).attachURL(“form1.php?ced=”+userid);

    

}



form1.php is a program with a form, but i need that when the user send data the response page (form2.php) close this window.



How is the most correct way to doit ?


teh question is answered here:


dhtmlx.com/docs/products/kb/inde … al&q=11887