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

· 14년 전 · 2265
<!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,180
14년 전 조회 1,026
14년 전 조회 1,024
14년 전 조회 753
14년 전 조회 2,780
14년 전 조회 796
14년 전 조회 507
14년 전 조회 1,325
14년 전 조회 1,724
14년 전 조회 699
14년 전 조회 1,252
14년 전 조회 1,273
14년 전 조회 1,332
14년 전 조회 1,427
14년 전 조회 1,085
14년 전 조회 8,620
14년 전 조회 1,210
14년 전 조회 1,488
14년 전 조회 637
14년 전 조회 593
14년 전 조회 702
14년 전 조회 1,054
14년 전 조회 2,102
14년 전 조회 621
14년 전 조회 1,645
14년 전 조회 1,846
14년 전 조회 992
14년 전 조회 922
14년 전 조회 515
14년 전 조회 1,079
14년 전 조회 991
14년 전 조회 860
14년 전 조회 754
14년 전 조회 830
14년 전 조회 1,157
14년 전 조회 1,957
14년 전 조회 1,068
14년 전 조회 531
14년 전 조회 9,883
14년 전 조회 851
14년 전 조회 715
14년 전 조회 1,299
14년 전 조회 2,416
14년 전 조회 1,220
14년 전 조회 904
14년 전 조회 687
14년 전 조회 1,591
14년 전 조회 885
14년 전 조회 2,266
14년 전 조회 685
14년 전 조회 688
14년 전 조회 821
14년 전 조회 1,449
14년 전 조회 707
14년 전 조회 2,173
14년 전 조회 537
14년 전 조회 3,093
14년 전 조회 3,257
14년 전 조회 3,165
14년 전 조회 2,983
14년 전 조회 681
14년 전 조회 628
14년 전 조회 1,125
14년 전 조회 1,388
14년 전 조회 591
14년 전 조회 672
14년 전 조회 586
14년 전 조회 4,664
14년 전 조회 552
14년 전 조회 4,942
14년 전 조회 1,271
14년 전 조회 1,068
14년 전 조회 543
14년 전 조회 715
14년 전 조회 1,230
14년 전 조회 706
14년 전 조회 1,367
14년 전 조회 878
14년 전 조회 729
14년 전 조회 802
14년 전 조회 2,907
14년 전 조회 618
14년 전 조회 1,176
14년 전 조회 817
14년 전 조회 763
14년 전 조회 672
14년 전 조회 3,305
14년 전 조회 1,225
14년 전 조회 662
14년 전 조회 734
14년 전 조회 720
14년 전 조회 815
14년 전 조회 577
14년 전 조회 655
14년 전 조회 1,314
14년 전 조회 3,178
14년 전 조회 1,582
14년 전 조회 692
14년 전 조회 633
🐛 버그신고