묻고답하기

//parent.htm의 내용
<html>

<head>
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
<title>제목 없음</title>
<meta name="generator" content="Namo WebEditor v5.0">
<script language="JavaScript">
<!--
function na_open_window(name, url, left, top, width, height, toolbar, menubar, statusbar, scrollbar, resizable)
{
toolbar_str = toolbar ? 'yes' : 'no';
menubar_str = menubar ? 'yes' : 'no';
statusbar_str = statusbar ? 'yes' : 'no';
scrollbar_str = scrollbar ? 'yes' : 'no';
resizable_str = resizable ? 'yes' : 'no';
window.open(url, name, 'left='+left+',top='+top+',width='+width+',height='+height+',toolbar='+toolbar_str+',menubar='+menubar_str+',status='+statusbar_str+',scrollbars='+scrollbar_str+',resizable='+ '+ '+resizable_str);
}

// -->
</script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="purple" alink="red">
<form name="form1">
<p><input type="text" name=parent_form[] value="현재폰트" maxlength="10" size="10"><a href="javascript:na_open_window('win00', 'popup_win.htm', 0, 0, 300, 200, 0, 0, 0, 0, 0)">폰트보기</a></p>
<p><input type="text" name=parent_form[] value="현재폰트" maxlength="10" size="10"><a href="javascript:na_open_window('win00', 'popup_win.htm', 0, 0, 300, 200, 0, 0, 0, 0, 0)">폰트보기</a></p>
</form>
<p> </p>
</body>

</html>

//popup_win.htm의 내용
<html>

<head>
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
<title>제목 없음</title>
<meta name="generator" content="Namo WebEditor v5.0">
</head>

<body bgcolor="white" text="black" link="blue" vlink="purple" alink="red">
<SCRIPT Language="JavaScript">
<!--
function fSendValue(f){
opener.form1.parent_form.value=f.popup_textfield.value
}
//-->
</SCRIPT>

<p>새창</p>
<form name="form2" onsubmit='return fSendValue(this);'>
<p align="left"><input type="text" name="popup_textfield"><input type="submit" name="popup_submit" value="enter"></p>
</form>
<p> </p>
</body>

</html>

parent.htm에서 새차을을 띄우면 그 새창세 parent.htm의 inputtext값을 조정하려고 하거든요. 그런데 위에 보면 inputtext 네임이 같잖아요. 그 이유가. 원래가 php에서 for을 사용해서 자동으로 inputtext를 생성하기 때문에 그러거든요. 그래서 위와 같이 같은 inputtext name이 나란히 같은 폼 내에 있을때 각각의 링크에서 새창을 띄우고 새창으로 뜬 문서에서 자신을 띄운 inputtext의 값을 각각 조정하고 싶어서요. 그런데... 잘 안되네요. inputtext 네임을 배열로 저장해도 새창으로 뜨는 윈도우에서 어느 inputtext인지 구별을 할 수 없으니 되질 않네요...
이것 땜시 잠을 못 자고 있슴다. ㅠㅠ; 제발 좀 도와주세요...
please~~~~~~~~~~~~~

글쓴이 제목 최종 글
XE 공지 글 쓰기,삭제 운영방식 변경 공지 [16] 2019.03.05 by 남기남
ⓝeGe 제 홈페이지 메뉴좀 꾸며 주세요.ㅜ.ㅜ [1] 2007.08.10
김은홍 웹사이트의 php 소스를 보는 방법은 없는건가요? [2] 2007.08.10
binsant 더이상 몸고생은 그만 하고싶어요..!!ㅜ.ㅜ  
Joyful^^ 현재창 종료후 새창에서 다른 주소로 들어오게 할수 있나요? [5] 2007.08.10
김태형 저기.. 제가 개인서버을 운영할까 하는데... [1] 2007.08.10
박진철 저기...노프레임사이트여.. [2] 2007.08.10
조기은 창닫기 메뉴 만드는 방법좀 알려 주세요  
라이야 내홈피에서 윈엠방송...ㅜㅜ  
김종환 현재 창에서 새로고침이 될 수 있게 하는법은? [3] 2007.08.10
박순길 에러좀 잡아주세요.....제발 [2] 2007.08.10
신상엽 [Mysql] 에서 table 을 지우려면...ㅠ.ㅜ (허접하죠?) [2] 2007.08.10
윤태학 select문에서 변수전달 방법... [1] 2007.08.10
sgs 새창을 띄웠을때 부모윈도우 제어에관해... [1] 2007.08.10
webpd 링크 ? = [1] 2007.08.10
정욱진 검색해보니 시작페이지설정에관한 강좌중 빠진게 있어서 질문좀할께요. [1] 2007.08.10
주하니 노프레임 스타일시트 문제. 제발 도와주세요 [1] 2007.08.10
binsant 메인보드 CMOS 셋팅에 대해 질문 드립니다. [1] 2007.08.10
마라 자바스크립트 설명좀해주세요...  
sisazz dchat 라고 아시나요? -_-  
차태현 포토샵에서 이전레이어의 외곽선 추출하는거요~~ [1] 2007.08.10
유연준 제발도와주세요..제가 윈미사용하거든요- [1] 2007.08.10
㉪호프。 아웃로긴하고 게시판하고 따로따로놀아용;;  
전지원 폼에서 입력된 값을 출력.. [1] 2007.08.10
이정원 이런 버튼 만들기 어렵나요? [1] 2007.08.10
문하나 새글이 보이지 않을 땐, 어찌해야하나요? [1] 2007.08.10
박정 텍스트 링크에 마우스를 올렸을때 색깔이 변하게 하려면?? [1] 2007.08.10
김은희 이런 로고 포토샵으로 가능하다는데..  
무대가라™ Serv-U 에서 포트를 뭘 사용해야 접속이 가능한가요? [2] 2007.08.10
[Q.E.D] 밑에 흘러가는 주인장 인삿말... [1] 2007.08.10
sisazz 스크롤바요,, [5] 2007.08.10