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

· 14년 전 · 2317
<!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,782
14년 전 조회 2,246
14년 전 조회 1,095
14년 전 조회 1,080
14년 전 조회 808
14년 전 조회 2,827
14년 전 조회 856
14년 전 조회 566
14년 전 조회 1,382
14년 전 조회 1,780
14년 전 조회 755
14년 전 조회 1,310
14년 전 조회 1,329
14년 전 조회 1,390
14년 전 조회 1,486
14년 전 조회 1,149
14년 전 조회 8,669
14년 전 조회 1,268
14년 전 조회 1,539
14년 전 조회 703
14년 전 조회 653
14년 전 조회 755
14년 전 조회 1,113
14년 전 조회 2,156
14년 전 조회 669
14년 전 조회 1,689
14년 전 조회 1,902
14년 전 조회 1,050
14년 전 조회 974
14년 전 조회 561
14년 전 조회 1,131
14년 전 조회 1,037
14년 전 조회 909
14년 전 조회 812
14년 전 조회 877
14년 전 조회 1,213
14년 전 조회 2,005
14년 전 조회 1,122
14년 전 조회 593
14년 전 조회 9,948
14년 전 조회 900
14년 전 조회 768
14년 전 조회 1,351
14년 전 조회 2,464
14년 전 조회 1,269
14년 전 조회 959
14년 전 조회 741
14년 전 조회 1,650
14년 전 조회 933
14년 전 조회 2,317
14년 전 조회 740
14년 전 조회 748
14년 전 조회 868
14년 전 조회 1,509
14년 전 조회 746
14년 전 조회 2,234
14년 전 조회 589
14년 전 조회 3,153
14년 전 조회 3,317
14년 전 조회 3,217
14년 전 조회 3,033
14년 전 조회 736
14년 전 조회 677
14년 전 조회 1,177
14년 전 조회 1,445
14년 전 조회 644
14년 전 조회 728
14년 전 조회 638
14년 전 조회 4,725
14년 전 조회 611
14년 전 조회 5,008
14년 전 조회 1,320
14년 전 조회 1,119
14년 전 조회 585
14년 전 조회 772
14년 전 조회 1,285
14년 전 조회 757
14년 전 조회 1,426
14년 전 조회 934
14년 전 조회 768
14년 전 조회 849
14년 전 조회 2,952
14년 전 조회 670
14년 전 조회 1,234
14년 전 조회 870
14년 전 조회 810
14년 전 조회 724
14년 전 조회 3,363
14년 전 조회 1,275
14년 전 조회 708
14년 전 조회 789
14년 전 조회 763
14년 전 조회 864
14년 전 조회 636
14년 전 조회 701
14년 전 조회 1,363
14년 전 조회 3,222
14년 전 조회 1,630
14년 전 조회 744
14년 전 조회 689
🐛 버그신고