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

· 14년 전 · 2349
<!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,814
14년 전 조회 2,277
14년 전 조회 1,128
14년 전 조회 1,107
14년 전 조회 836
14년 전 조회 2,856
14년 전 조회 884
14년 전 조회 599
14년 전 조회 1,414
14년 전 조회 1,812
14년 전 조회 783
14년 전 조회 1,342
14년 전 조회 1,359
14년 전 조회 1,426
14년 전 조회 1,517
14년 전 조회 1,173
14년 전 조회 8,699
14년 전 조회 1,298
14년 전 조회 1,574
14년 전 조회 732
14년 전 조회 677
14년 전 조회 794
14년 전 조회 1,144
14년 전 조회 2,187
14년 전 조회 709
14년 전 조회 1,719
14년 전 조회 1,933
14년 전 조회 1,077
14년 전 조회 1,004
14년 전 조회 586
14년 전 조회 1,164
14년 전 조회 1,067
14년 전 조회 938
14년 전 조회 838
14년 전 조회 901
14년 전 조회 1,252
14년 전 조회 2,032
14년 전 조회 1,148
14년 전 조회 612
14년 전 조회 9,974
14년 전 조회 928
14년 전 조회 800
14년 전 조회 1,378
14년 전 조회 2,493
14년 전 조회 1,308
14년 전 조회 998
14년 전 조회 777
14년 전 조회 1,688
14년 전 조회 964
14년 전 조회 2,350
14년 전 조회 770
14년 전 조회 782
14년 전 조회 899
14년 전 조회 1,539
14년 전 조회 777
14년 전 조회 2,264
14년 전 조회 613
14년 전 조회 3,182
14년 전 조회 3,340
14년 전 조회 3,251
14년 전 조회 3,063
14년 전 조회 762
14년 전 조회 721
14년 전 조회 1,215
14년 전 조회 1,480
14년 전 조회 671
14년 전 조회 760
14년 전 조회 670
14년 전 조회 4,755
14년 전 조회 646
14년 전 조회 5,031
14년 전 조회 1,343
14년 전 조회 1,142
14년 전 조회 618
14년 전 조회 800
14년 전 조회 1,318
14년 전 조회 777
14년 전 조회 1,452
14년 전 조회 962
14년 전 조회 790
14년 전 조회 890
14년 전 조회 2,970
14년 전 조회 701
14년 전 조회 1,259
14년 전 조회 903
14년 전 조회 846
14년 전 조회 746
14년 전 조회 3,387
14년 전 조회 1,314
14년 전 조회 741
14년 전 조회 821
14년 전 조회 798
14년 전 조회 904
14년 전 조회 673
14년 전 조회 738
14년 전 조회 1,400
14년 전 조회 3,253
14년 전 조회 1,674
14년 전 조회 771
14년 전 조회 717
🐛 버그신고