|
|
|
15년 전
|
조회 747
|
|
|
|
15년 전
|
조회 937
|
|
|
|
15년 전
|
조회 4,375
|
|
|
|
15년 전
|
조회 957
|
|
|
|
15년 전
|
조회 964
|
|
|
|
15년 전
|
조회 1,705
|
|
|
|
15년 전
|
조회 909
|
|
|
|
15년 전
|
조회 965
|
|
|
|
15년 전
|
조회 954
|
|
|
|
15년 전
|
조회 1,608
|
|
|
|
15년 전
|
조회 2,518
|
|
|
|
15년 전
|
조회 959
|
|
|
|
15년 전
|
조회 2,454
|
|
|
|
15년 전
|
조회 897
|
|
|
|
15년 전
|
조회 962
|
|
|
|
15년 전
|
조회 951
|
|
|
|
15년 전
|
조회 1,044
|
|
|
|
15년 전
|
조회 1,469
|
|
|
|
15년 전
|
조회 6,385
|
|
|
|
15년 전
|
조회 1,858
|
댓글 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()">