2uzhan.com
Advertisement
Now Place:2uzhan.com » How to Refresh the parent popup window?

How to Refresh the parent popup window?

Scripting - Client Side @ August 25, 2008   Views:0

Hi

I have JSP page, from that JSP page I have one popupwindow and from this popupwindow, i have one more popwindow is there, after i updated and close the second popupwindow the first popup window should be refresh. but it
's not refresh. How to refresh the parent popupwindow??

thanks.

--------------Solutions-------------

You can check if a window handle still exists with

Code:

if (WindowHandle)

So, I use code like this alot

Code:

var win = window.open('about:blank')
WaitForClose();

function WaitForClose() {
  if (win) {
    window.setTimeout('WaitForClose()', 100);
  } else {
    alert("You Closed The Window");
  };
};

hi thanks for your reply..

where i have to place that code?? and i need to reload the page.

Tags:
© 2018 2uzhan.com Contact