묻고답하기

//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 남기남
hellojdy 타임라인 모듈 게시글 필터 질문있습니다!  
Thunder28 xe 첨부 이미지 본문 자동 삽입 [1] 2016.01.04 by 로이조52
장수발장1 구글링 개인정보 유출 관련 [2] 2016.01.04 by 장수발장1
키에누 제가 만든 html 페이지에서 바로 xe 게시판 디비로 저장하고 싶습니다.  
댑펑 댓글 내용을 검열하고 싶습니다. [2] 2016.01.04 by 댑펑
ing 안녕하세요 xe초보자 질문입니다. [1] 2016.01.04 by bluedream
겨누N 로그인이 안됩니다. [1] 2016.01.04 by bluedream
윤발이 PC 용 홈페이지는 제로 보드 모바일은 다른쪽 연결은? [1] 2016.01.04 by bluedream
nfreerin 위젯 글씨 정렬 관련 문의 [2] file 2016.01.03 by nfreerin
hellojdy 타임라인에서 안보이게 하는법  
둥가 게시판 제목글자 크기를 변경하고 싶습니다. (사진첨부) [2] file 2016.01.03 by 둥가
배우는자 게시판에서 파일업로드시 절대경로에 저장되는 파일명 변환 설명좀요...추가질문도 좀할게요... [1] 2016.01.03 by sejin7940
jetski 홈피에 게시판은 있는데,,,, 추가로 아이디별 다이어리 같은걸 만들고 싶다면???? [1] 2016.01.03 by sejin7940
hellojdy 중고마켓모듈+타임라인 관련 질문입니다!  
메인드블랙 신디케이션로 통한 네이버 노출 링크가 게시판id 누락에 대해서  
lsh4869 게시판 수정 [1] file 2016.01.02 by DoorWeb
서영숙 하루종일 해결못했네요 [1] file 2016.01.02 by DoorWeb
빨간망고 [질문] 최근게시물 추출 제목이 깨지는 경우, 게시자 이름(닉네임) 글자수 제한 방법 [1] file 2016.01.02 by 빨간망고
auddn**** 세이라디오  
쏘쿨쏘핫 [회원그룹] 신입회원/준회원/정회원 등 기본적인 회원그룹 설정이 안됩니다. file