window.open 창에서 부모창의 스크립트 메서드 실행
- window.open 창에서 부모창의 스크립트 메서드 실행
+ 부모창
<script>
var parentWin = null;
function test(){
parentWin = window.open(url, '', winOpenOption);
}
function reloadPage(returnedVal){
location.href = url;
}
+window.open 창
function submit(){
returnVal = "Y";
opener.reloadPage(returnVal);
}