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

· 14년 전 · 2269
<!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,734
14년 전 조회 2,185
14년 전 조회 1,033
14년 전 조회 1,027
14년 전 조회 764
14년 전 조회 2,787
14년 전 조회 799
14년 전 조회 511
14년 전 조회 1,332
14년 전 조회 1,733
14년 전 조회 704
14년 전 조회 1,261
14년 전 조회 1,282
14년 전 조회 1,340
14년 전 조회 1,434
14년 전 조회 1,093
14년 전 조회 8,627
14년 전 조회 1,218
14년 전 조회 1,491
14년 전 조회 646
14년 전 조회 599
14년 전 조회 707
14년 전 조회 1,059
14년 전 조회 2,107
14년 전 조회 627
14년 전 조회 1,653
14년 전 조회 1,855
14년 전 조회 996
14년 전 조회 930
14년 전 조회 524
14년 전 조회 1,082
14년 전 조회 995
14년 전 조회 868
14년 전 조회 761
14년 전 조회 834
14년 전 조회 1,165
14년 전 조회 1,959
14년 전 조회 1,074
14년 전 조회 536
14년 전 조회 9,889
14년 전 조회 856
14년 전 조회 721
14년 전 조회 1,305
14년 전 조회 2,419
14년 전 조회 1,224
14년 전 조회 912
14년 전 조회 693
14년 전 조회 1,599
14년 전 조회 890
14년 전 조회 2,270
14년 전 조회 693
14년 전 조회 693
14년 전 조회 826
14년 전 조회 1,455
14년 전 조회 709
14년 전 조회 2,178
14년 전 조회 542
14년 전 조회 3,101
14년 전 조회 3,264
14년 전 조회 3,169
14년 전 조회 2,990
14년 전 조회 683
14년 전 조회 635
14년 전 조회 1,127
14년 전 조회 1,394
14년 전 조회 595
14년 전 조회 682
14년 전 조회 591
14년 전 조회 4,671
14년 전 조회 559
14년 전 조회 4,949
14년 전 조회 1,275
14년 전 조회 1,073
14년 전 조회 546
14년 전 조회 720
14년 전 조회 1,241
14년 전 조회 712
14년 전 조회 1,372
14년 전 조회 885
14년 전 조회 733
14년 전 조회 806
14년 전 조회 2,913
14년 전 조회 626
14년 전 조회 1,183
14년 전 조회 823
14년 전 조회 766
14년 전 조회 677
14년 전 조회 3,315
14년 전 조회 1,231
14년 전 조회 668
14년 전 조회 742
14년 전 조회 726
14년 전 조회 823
14년 전 조회 584
14년 전 조회 663
14년 전 조회 1,319
14년 전 조회 3,184
14년 전 조회 1,590
14년 전 조회 698
14년 전 조회 642
🐛 버그신고