Categories | Question details Back To List | ||||||||
closing windows Hi Gang. I am using the pro versions. I am globally creating var dhxWins; then creating a dhtmlx window off a click event on a tree control as follows dhxWins = new dhtmlXWindows(); var w1 = dhxWins.createWindow("w1", 10, 10, 500, 240); w1.attachURL("MyFormUrl.asp"); The form is a edit form (see below). The post form it calls has the following code: </head> <body onload="parent.dhxWins.window('w1').close();"></body> </html> Now this almost works, it closes the pop up window but it leaves the cursor in a "running" state. The tab says "Loading" and the cursor is the little hourglass. I tried the examples listed here, including parent.w1.close, but non of those worked. Am I doing something wrong? ----------------------Update form code---------------- <body topmargin="0" leftmargin="0" class="body"> <form name="frmMain" method="POST" action="engine/updLabourType.asp?CompanyID=<%=CompanyID%>&LabourTypeID=<%=LabourTypeID%>"> <table> <tr> <td class="dkheadwo">Labour Type Description</td> </tr> <tr> <td><input name="tLabourType" value="<%=rs("Description")%>" /></td> </tr> <tr> <td><input type="submit" value="Save" /></td> </tr> </table> </form> </body> Answer posted by Alex (support) on Aug 10, 2009 03:22 Hello, the issue was not reproduced locally. Please, see attached sample Attachments (1)
|