Tuesday, December 14, 2010

Auto refresh parent window after closing popup - Dev Articles

Auto refresh parent window after closing popup - Dev Articles
useful codes to refresh parent/main window when a popup closes.

function refreshParent() {   window.opener.location.href = window.opener.location.href;    if (window.opener.progressWindow)     {     window.opener.progressWindow.close()   }   window.close(); }


window. operner. location. reload();

No comments:

Post a Comment