목록window (2)
어느 가을날의 전환점
부모창과 자식창의 데이터 전달 Html/JavaScript // 부모창 // 자식창 ================================================================== // 자식창 데이터 => 부모창으로 넘기기 // 자식창 function Put(){ var pam1 = name.value; var pam2 = age.value; var pam3 = 100; window.returnValue = pam1 + ";" + pam2 + " ;" + pam3 + " ;"; window.close(); } // 부모창 var firstList = new Array(); firstList = result.split(";"); // 데이터구분자 name.value = firstLi..
Window opener property The opener property returns a reference to the window that created the window. When opening a window with window.open(), you can use this property from the destination window to return details of the source (parent) window. Coding Tip: window.opener.close() will close the source (parent) window. Syntax window.opener 부모창 var parentWindow; function openCBAWindow(){ parentWin..