dhtmlxWindows refresh parent


I’m using dhtmlxWindows. I created a window with two buttons. One for applying the changes to the database and another which just closes. I was able to apply the changes to the database and close the window but was not able to refresh the parent window after applying the changes. I’m using “win.attachURL(url)” function to attach the jsp page which contains the buttons. Is there any simple way to just refresh the parent page on clicking the apply button? Thanks

- UdayS


iframe can be got by dhxWins.window(id)._frame.

If you attach a page from the same domain, it can be refreshed as follows:


hello. i have the same issue. Currently i hv a pop up dhtmlxwindows.

function PopUpLogin(){		

	dhxWins = new dhtmlXWindows();
	win = dhxWins.createWindow("w1", 0, 0, 300, 300);
	win.attachEvent('onClose', Refresh);}

function Refresh(w1)

	if (w1.boolSuccess) {
		if (w1.boolSuccess == true) alert('true');


	return true;


i wish to refresh my parent page after the windows is closed. any idea? plz help thanks!!!

You may call any function in onClose event. If you want to reload browser window, try window.location.reload()