LinkedNestBlog

팝업창에서 부모창 새로고침(reload())시 Error alert창이 뜨는 현상 제거하려면.

by jinwon

팝업창에서 부모창 새로고침(reload())시 Error alert창이 뜨는 현상

> 제거하려면??? 

 

1. window.opener = null; // this is so that IE doesn't show the confirm close message
   window.opener.location.href = "http://localhost/Order.aspx?purpose=test";
   self.close();

2. window.opener.document.location.href = window.opener.document.URL; // 부모창 새로고침 
   window.close();