hi,
I am calling a DHTMLX window and in it I am att. JSP page as URL
dhxWins = new dhtmlXWindows();
dhxWins.enableAutoViewport(false);
dhxWins.setViewport(0, 0, 500, 500);
dhxWins.vp.style.border = “#909090 0px solid”;
w1 = dhxWins.createWindow(“w1”, 100, 100, 90, 250);
dhxWins.window(“w1”).bringToTop();
w1.setText(“Choose the Parameters for the Report”);
w1.button(“minmax1”).disable();
w1.attachURL(popURL);
I can able to pick the value from Popup and closing the window.
parent.document.forms[0].elements[4].value=finalval
parent.dhxWins.window(“w1”).close();
later in the parent window i am unable to access any of the controls…is there any thing you can help me.
I have to close the parent DHTMLX window with out fail and i dont want to hide it.
regards
Mag
Hello,
Could you please more source code/demo?
Hi,<?xml:namespace prefix = o ns = “urn:schemas-microsoft-com:office:office” /><o:p></o:p>
i am designing a web application which is a JSP page in which user select a hyperlink for popup, when user click on popup a dhtmlX window will be called with a url(another JSP). after searching he is going to pick the values from the dhtmlX window once they close the window the values are showing back to the parent window.<o:p></o:p>
My question is after first selection, i cant able to access (every thing disable) in the parent window and its not allowing me to enter any thing in the parent window.<o:p></o:p>
<o:p></o:p>
The code which i send is pretty much same.<o:p></o:p>
<o:p> </o:p>
<o:p> </o:p>
Thanks for wonderful example, but my question is
In my parent window i have hyperlink(s) with text box(s) . When ever user select any hyperlink i need to create a new window and show its related options, Once user select i need to bring the value back to parent window. Which i am doing fine. But when user try to enter some value in the parent textbox, the textbox is non editable. every thing in the parent window freezed.
In the popup dhtmlx window i am calling a JSP in that i am writing the followng code, to close the parent window.
parent.document.forms[0].elements[4].value=finalval
parent.dhxWins.window(“w1”).close();
Is there any way dhtmlx can unfreeze the parent window.
Here is a demo and fixed dhtmlxwindows edition (dhtmlxwindows.css and dhtmlxwindows.js files).
demo.zip (52.3 KB)
Nevermind, i findout the solution.
Appreciate for your wonderful help as always.
regards
Mag