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

· 14년 전 · 2266
<!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,730
14년 전 조회 2,182
14년 전 조회 1,027
14년 전 조회 1,024
14년 전 조회 754
14년 전 조회 2,780
14년 전 조회 797
14년 전 조회 507
14년 전 조회 1,326
14년 전 조회 1,726
14년 전 조회 699
14년 전 조회 1,255
14년 전 조회 1,276
14년 전 조회 1,332
14년 전 조회 1,429
14년 전 조회 1,085
14년 전 조회 8,620
14년 전 조회 1,211
14년 전 조회 1,489
14년 전 조회 637
14년 전 조회 594
14년 전 조회 702
14년 전 조회 1,056
14년 전 조회 2,103
14년 전 조회 622
14년 전 조회 1,646
14년 전 조회 1,847
14년 전 조회 992
14년 전 조회 923
14년 전 조회 517
14년 전 조회 1,079
14년 전 조회 991
14년 전 조회 860
14년 전 조회 755
14년 전 조회 831
14년 전 조회 1,158
14년 전 조회 1,957
14년 전 조회 1,069
14년 전 조회 532
14년 전 조회 9,884
14년 전 조회 851
14년 전 조회 716
14년 전 조회 1,299
14년 전 조회 2,416
14년 전 조회 1,220
14년 전 조회 906
14년 전 조회 688
14년 전 조회 1,592
14년 전 조회 886
14년 전 조회 2,267
14년 전 조회 686
14년 전 조회 688
14년 전 조회 821
14년 전 조회 1,450
14년 전 조회 707
14년 전 조회 2,174
14년 전 조회 537
14년 전 조회 3,093
14년 전 조회 3,259
14년 전 조회 3,166
14년 전 조회 2,983
14년 전 조회 681
14년 전 조회 629
14년 전 조회 1,125
14년 전 조회 1,388
14년 전 조회 592
14년 전 조회 673
14년 전 조회 587
14년 전 조회 4,665
14년 전 조회 553
14년 전 조회 4,943
14년 전 조회 1,272
14년 전 조회 1,068
14년 전 조회 543
14년 전 조회 716
14년 전 조회 1,232
14년 전 조회 706
14년 전 조회 1,369
14년 전 조회 881
14년 전 조회 732
14년 전 조회 802
14년 전 조회 2,908
14년 전 조회 619
14년 전 조회 1,177
14년 전 조회 818
14년 전 조회 763
14년 전 조회 672
14년 전 조회 3,308
14년 전 조회 1,227
14년 전 조회 662
14년 전 조회 735
14년 전 조회 720
14년 전 조회 815
14년 전 조회 578
14년 전 조회 656
14년 전 조회 1,316
14년 전 조회 3,179
14년 전 조회 1,584
14년 전 조회 692
14년 전 조회 634
🐛 버그신고