|
|
|
15년 전
|
조회 771
|
|
|
|
15년 전
|
조회 955
|
|
|
|
15년 전
|
조회 4,408
|
|
|
|
15년 전
|
조회 980
|
|
|
|
15년 전
|
조회 979
|
|
|
|
15년 전
|
조회 1,729
|
|
|
|
15년 전
|
조회 932
|
|
|
|
15년 전
|
조회 981
|
|
|
|
15년 전
|
조회 975
|
|
|
|
15년 전
|
조회 1,629
|
|
|
|
15년 전
|
조회 2,537
|
|
|
|
15년 전
|
조회 981
|
|
|
|
15년 전
|
조회 2,473
|
|
|
|
15년 전
|
조회 916
|
|
|
|
15년 전
|
조회 983
|
|
|
|
15년 전
|
조회 965
|
|
|
|
15년 전
|
조회 1,067
|
|
|
|
15년 전
|
조회 1,490
|
|
|
|
15년 전
|
조회 6,408
|
|
|
|
15년 전
|
조회 1,877
|
댓글 4개
<script>
var winObject = null;
function popupWindow(){
var settings ='toolbar=0,directories=0,status=no,menubar=0,scrollbars=auto,resizable=no,height=200,width=200,left=0,top=0';
winObject = window.open("test2.htm", "test2", settings);
}
function submitToWindow(){
winObject.document.all.text2.value = document.all.text1.value;
}
</script>
<input type=text name="text1">
<input type=button value="새창띄우기" onClick="popupWindow();">
<input type=button value="팝업창으로전송" onClick="submitToWindow();">
test2.htm
<script>
function submitToParent(){
opener.document.all.text1.value = document.all.text2.value;
}
</script>
<input type=text name=text2>
<input type=button value="부모창으로 전송" onClick="submitToParent()">