라디오박스 폼 submit 후 프로세스파일(iframe)에서 처리후 부모창으로

· 14년 전 · 2292
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ko" lang="ko">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>titel</title>

</head>

<body>
<script type="text/javascript">
function formsubmit(Frm){

}
function btnform(){
var Frm = document.frm;
Frm.target = "juny_ok";
Frm.action = "juny_ok.html";
Frm.submit();
}
</script>


<form name="frm" action="./update.emt" method="post" onsubmit="return formsubmit(this);">
<fieldset>
<legend>회원가입 폼</legend>
<table summary="회원가입" border=1 width="100%">
<caption>회원가입</caption>
<tbody>
<tr>
<th>성명 : </th>
<td><input type="text" name="name" value="" /></td>
</tr>
<tr>
<th>옵션 : </th>
<td>
<input type="radio" name="radio1" id="radio1_1" value="1" onclick="btnform();" /><label for="radio1_1">학생</label>
<input type="radio" name="radio1" id="radio1_2" value="1" onclick="btnform();" /><label for="radio1_2">선생</label>
<input type="radio" name="radio1" id="radio1_3" value="1" onclick="btnform();" /><label for="radio1_3">일반</label>
<input type="radio" name="radio1" id="radio1_4" value="1" onclick="btnform();" /><label for="radio1_4">기타</label>
</td>
</tr>
<tr>
<td colspan="2"><input type="submit" /></td>
</tr>
</tbody>
</table>
</fieldset>
</form>
<div id="AAAAA" ></div>


<iframe name="juny_ok"></iframe>

</body>

</html>



----------------------------------------




<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ko" lang="ko">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>titel</title>

</head>

<body>
111
<script>
parent.window.document.getElementById("AAAAA").innerHTML = "<select><option>aaa</option><option>bbb</option></select>";
</script>

</body>

</html>
|
댓글을 작성하시려면 로그인이 필요합니다.

프로그램

태그 필터 (최대 3개) 전체 개발자 소스 기타 mysql 팁자료실 javascript php linux flash 정규표현식 jquery node.js mobile 웹서버 os 프로그램 강좌 썸네일 이미지관련 도로명주소 그누보드5 기획자 견적서 계약서 기획서 마케팅 제안서 seo 통계 서식 통계자료 퍼블리셔 html css 반응형 웹접근성 퍼블리싱 표준화 반응형웹 홈페이지기초 부트스트랩 angularjs 포럼 스크린리더 센스리더 개발자톡 개발자팁 퍼블리셔톡 퍼블리셔팁 기획자톡 기획자팁 프로그램강좌 퍼블리싱강좌
+
제목 글쓴이 날짜 조회
14년 전 조회 1,768
14년 전 조회 2,225
14년 전 조회 1,071
14년 전 조회 1,059
14년 전 조회 787
14년 전 조회 2,814
14년 전 조회 839
14년 전 조회 553
14년 전 조회 1,365
14년 전 조회 1,765
14년 전 조회 743
14년 전 조회 1,291
14년 전 조회 1,307
14년 전 조회 1,373
14년 전 조회 1,469
14년 전 조회 1,134
14년 전 조회 8,653
14년 전 조회 1,249
14년 전 조회 1,524
14년 전 조회 681
14년 전 조회 638
14년 전 조회 743
14년 전 조회 1,091
14년 전 조회 2,138
14년 전 조회 657
14년 전 조회 1,677
14년 전 조회 1,885
14년 전 조회 1,028
14년 전 조회 963
14년 전 조회 550
14년 전 조회 1,119
14년 전 조회 1,021
14년 전 조회 894
14년 전 조회 793
14년 전 조회 860
14년 전 조회 1,196
14년 전 조회 1,992
14년 전 조회 1,104
14년 전 조회 563
14년 전 조회 9,929
14년 전 조회 884
14년 전 조회 751
14년 전 조회 1,330
14년 전 조회 2,447
14년 전 조회 1,254
14년 전 조회 942
14년 전 조회 729
14년 전 조회 1,629
14년 전 조회 916
14년 전 조회 2,293
14년 전 조회 723
14년 전 조회 729
14년 전 조회 853
14년 전 조회 1,485
14년 전 조회 735
14년 전 조회 2,209
14년 전 조회 572
14년 전 조회 3,128
14년 전 조회 3,297
14년 전 조회 3,205
14년 전 조회 3,014
14년 전 조회 717
14년 전 조회 661
14년 전 조회 1,162
14년 전 조회 1,429
14년 전 조회 627
14년 전 조회 716
14년 전 조회 620
14년 전 조회 4,706
14년 전 조회 592
14년 전 조회 4,987
14년 전 조회 1,300
14년 전 조회 1,103
14년 전 조회 569
14년 전 조회 751
14년 전 조회 1,271
14년 전 조회 741
14년 전 조회 1,401
14년 전 조회 914
14년 전 조회 756
14년 전 조회 834
14년 전 조회 2,940
14년 전 조회 655
14년 전 조회 1,218
14년 전 조회 847
14년 전 조회 796
14년 전 조회 706
14년 전 조회 3,344
14년 전 조회 1,266
14년 전 조회 691
14년 전 조회 764
14년 전 조회 751
14년 전 조회 852
14년 전 조회 622
14년 전 조회 694
14년 전 조회 1,344
14년 전 조회 3,208
14년 전 조회 1,618
14년 전 조회 729
14년 전 조회 674
🐛 버그신고