Categories | Question details Back To List | ||
Refresh an ajax Window Hi I have a Window.attachURL(aurl,true) in one window. This window calls another window where some data is updated. When I close the new data window I want to refresh the calling window. (similiar to opener.location.reload(true)) What is the equivelant dhtmlx syntax? Answer posted by Alex (support) on Nov 03, 2009 05:28 Hello, there isn't similar approach to opener.location.reload(true). Windows are avalaible by their object: win = dhxWins.createWindow("w1", 20, 30, 320, 200); win.setText("dhtmlxWindow"); or by their ids: dhxWins.window("w1").setText("dhtmlxWindow"); To refresh a window you can call attachURL method again. Answer posted by Fergus on Nov 03, 2009 05:43 Hi What I was wanting to know was if there was any way of finding what the URL called by a window was so that I could pass it back into attachUrl? Answer posted by Alex (support) on Nov 03, 2009 06:29 Hello, unfortunately, windows doesn't provide functionality to get an url that is used in attachURL method. You should place url into some variable before attachURL method is called. |