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

· 14년 전 · 2262
<!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,726
14년 전 조회 2,177
14년 전 조회 1,024
14년 전 조회 1,022
14년 전 조회 751
14년 전 조회 2,778
14년 전 조회 794
14년 전 조회 505
14년 전 조회 1,324
14년 전 조회 1,723
14년 전 조회 698
14년 전 조회 1,252
14년 전 조회 1,272
14년 전 조회 1,332
14년 전 조회 1,426
14년 전 조회 1,081
14년 전 조회 8,620
14년 전 조회 1,207
14년 전 조회 1,485
14년 전 조회 633
14년 전 조회 590
14년 전 조회 699
14년 전 조회 1,053
14년 전 조회 2,101
14년 전 조회 618
14년 전 조회 1,645
14년 전 조회 1,844
14년 전 조회 990
14년 전 조회 920
14년 전 조회 514
14년 전 조회 1,076
14년 전 조회 990
14년 전 조회 857
14년 전 조회 754
14년 전 조회 826
14년 전 조회 1,157
14년 전 조회 1,955
14년 전 조회 1,067
14년 전 조회 530
14년 전 조회 9,882
14년 전 조회 847
14년 전 조회 714
14년 전 조회 1,296
14년 전 조회 2,414
14년 전 조회 1,216
14년 전 조회 900
14년 전 조회 685
14년 전 조회 1,590
14년 전 조회 882
14년 전 조회 2,263
14년 전 조회 684
14년 전 조회 684
14년 전 조회 819
14년 전 조회 1,447
14년 전 조회 704
14년 전 조회 2,170
14년 전 조회 534
14년 전 조회 3,091
14년 전 조회 3,254
14년 전 조회 3,162
14년 전 조회 2,981
14년 전 조회 676
14년 전 조회 626
14년 전 조회 1,123
14년 전 조회 1,386
14년 전 조회 586
14년 전 조회 672
14년 전 조회 584
14년 전 조회 4,663
14년 전 조회 548
14년 전 조회 4,939
14년 전 조회 1,270
14년 전 조회 1,064
14년 전 조회 538
14년 전 조회 713
14년 전 조회 1,229
14년 전 조회 704
14년 전 조회 1,364
14년 전 조회 876
14년 전 조회 728
14년 전 조회 799
14년 전 조회 2,906
14년 전 조회 615
14년 전 조회 1,174
14년 전 조회 814
14년 전 조회 759
14년 전 조회 671
14년 전 조회 3,305
14년 전 조회 1,225
14년 전 조회 660
14년 전 조회 732
14년 전 조회 717
14년 전 조회 814
14년 전 조회 577
14년 전 조회 654
14년 전 조회 1,311
14년 전 조회 3,176
14년 전 조회 1,582
14년 전 조회 690
14년 전 조회 631
🐛 버그신고