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

· 14년 전 · 2254
<!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>
|
댓글을 작성하시려면 로그인이 필요합니다. 로그인

프로그램

+
제목 글쓴이 날짜 조회
14년 전 조회 1,716
14년 전 조회 2,171
14년 전 조회 1,017
14년 전 조회 1,017
14년 전 조회 746
14년 전 조회 2,772
14년 전 조회 782
14년 전 조회 492
14년 전 조회 1,315
14년 전 조회 1,717
14년 전 조회 685
14년 전 조회 1,243
14년 전 조회 1,261
14년 전 조회 1,319
14년 전 조회 1,413
14년 전 조회 1,069
14년 전 조회 8,616
14년 전 조회 1,201
14년 전 조회 1,477
14년 전 조회 627
14년 전 조회 579
14년 전 조회 686
14년 전 조회 1,046
14년 전 조회 2,093
14년 전 조회 606
14년 전 조회 1,642
14년 전 조회 1,833
14년 전 조회 982
14년 전 조회 913
14년 전 조회 506
14년 전 조회 1,063
14년 전 조회 983
14년 전 조회 846
14년 전 조회 747
14년 전 조회 821
14년 전 조회 1,150
14년 전 조회 1,941
14년 전 조회 1,061
14년 전 조회 522
14년 전 조회 9,875
14년 전 조회 840
14년 전 조회 701
14년 전 조회 1,284
14년 전 조회 2,406
14년 전 조회 1,206
14년 전 조회 893
14년 전 조회 674
14년 전 조회 1,583
14년 전 조회 873
14년 전 조회 2,255
14년 전 조회 676
14년 전 조회 678
14년 전 조회 814
14년 전 조회 1,439
14년 전 조회 693
14년 전 조회 2,163
14년 전 조회 528
14년 전 조회 3,082
14년 전 조회 3,248
14년 전 조회 3,153
14년 전 조회 2,974
14년 전 조회 664
14년 전 조회 617
14년 전 조회 1,112
14년 전 조회 1,377
14년 전 조회 578
14년 전 조회 667
14년 전 조회 575
14년 전 조회 4,652
14년 전 조회 543
14년 전 조회 4,932
14년 전 조회 1,263
14년 전 조회 1,055
14년 전 조회 532
14년 전 조회 705
14년 전 조회 1,225
14년 전 조회 698
14년 전 조회 1,358
14년 전 조회 870
14년 전 조회 726
14년 전 조회 790
14년 전 조회 2,905
14년 전 조회 609
14년 전 조회 1,172
14년 전 조회 807
14년 전 조회 750
14년 전 조회 667
14년 전 조회 3,301
14년 전 조회 1,212
14년 전 조회 649
14년 전 조회 720
14년 전 조회 707
14년 전 조회 803
14년 전 조회 566
14년 전 조회 644
14년 전 조회 1,302
14년 전 조회 3,166
14년 전 조회 1,573
14년 전 조회 681
14년 전 조회 620
🐛 버그신고