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

· 14년 전 · 2268
<!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,733
14년 전 조회 2,185
14년 전 조회 1,031
14년 전 조회 1,026
14년 전 조회 763
14년 전 조회 2,787
14년 전 조회 798
14년 전 조회 509
14년 전 조회 1,331
14년 전 조회 1,733
14년 전 조회 703
14년 전 조회 1,260
14년 전 조회 1,279
14년 전 조회 1,338
14년 전 조회 1,433
14년 전 조회 1,088
14년 전 조회 8,626
14년 전 조회 1,217
14년 전 조회 1,490
14년 전 조회 643
14년 전 조회 597
14년 전 조회 706
14년 전 조회 1,058
14년 전 조회 2,105
14년 전 조회 625
14년 전 조회 1,653
14년 전 조회 1,853
14년 전 조회 995
14년 전 조회 927
14년 전 조회 522
14년 전 조회 1,080
14년 전 조회 995
14년 전 조회 866
14년 전 조회 760
14년 전 조회 833
14년 전 조회 1,163
14년 전 조회 1,959
14년 전 조회 1,074
14년 전 조회 535
14년 전 조회 9,888
14년 전 조회 856
14년 전 조회 719
14년 전 조회 1,301
14년 전 조회 2,418
14년 전 조회 1,223
14년 전 조회 910
14년 전 조회 692
14년 전 조회 1,598
14년 전 조회 887
14년 전 조회 2,269
14년 전 조회 692
14년 전 조회 693
14년 전 조회 825
14년 전 조회 1,453
14년 전 조회 709
14년 전 조회 2,178
14년 전 조회 541
14년 전 조회 3,098
14년 전 조회 3,262
14년 전 조회 3,168
14년 전 조회 2,990
14년 전 조회 683
14년 전 조회 633
14년 전 조회 1,127
14년 전 조회 1,391
14년 전 조회 594
14년 전 조회 681
14년 전 조회 590
14년 전 조회 4,669
14년 전 조회 557
14년 전 조회 4,947
14년 전 조회 1,274
14년 전 조회 1,071
14년 전 조회 546
14년 전 조회 720
14년 전 조회 1,240
14년 전 조회 710
14년 전 조회 1,372
14년 전 조회 884
14년 전 조회 732
14년 전 조회 804
14년 전 조회 2,913
14년 전 조회 624
14년 전 조회 1,182
14년 전 조회 821
14년 전 조회 765
14년 전 조회 677
14년 전 조회 3,314
14년 전 조회 1,231
14년 전 조회 666
14년 전 조회 739
14년 전 조회 723
14년 전 조회 820
14년 전 조회 582
14년 전 조회 662
14년 전 조회 1,318
14년 전 조회 3,182
14년 전 조회 1,589
14년 전 조회 697
14년 전 조회 639
🐛 버그신고