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

· 14년 전 · 2313
<!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,781
14년 전 조회 2,243
14년 전 조회 1,091
14년 전 조회 1,077
14년 전 조회 805
14년 전 조회 2,825
14년 전 조회 852
14년 전 조회 562
14년 전 조회 1,380
14년 전 조회 1,777
14년 전 조회 755
14년 전 조회 1,307
14년 전 조회 1,327
14년 전 조회 1,387
14년 전 조회 1,482
14년 전 조회 1,145
14년 전 조회 8,668
14년 전 조회 1,263
14년 전 조회 1,534
14년 전 조회 701
14년 전 조회 647
14년 전 조회 754
14년 전 조회 1,110
14년 전 조회 2,154
14년 전 조회 668
14년 전 조회 1,688
14년 전 조회 1,899
14년 전 조회 1,048
14년 전 조회 973
14년 전 조회 561
14년 전 조회 1,129
14년 전 조회 1,035
14년 전 조회 905
14년 전 조회 810
14년 전 조회 876
14년 전 조회 1,210
14년 전 조회 2,003
14년 전 조회 1,120
14년 전 조회 588
14년 전 조회 9,946
14년 전 조회 897
14년 전 조회 762
14년 전 조회 1,348
14년 전 조회 2,463
14년 전 조회 1,268
14년 전 조회 955
14년 전 조회 739
14년 전 조회 1,646
14년 전 조회 930
14년 전 조회 2,314
14년 전 조회 735
14년 전 조회 746
14년 전 조회 865
14년 전 조회 1,505
14년 전 조회 746
14년 전 조회 2,233
14년 전 조회 586
14년 전 조회 3,150
14년 전 조회 3,313
14년 전 조회 3,213
14년 전 조회 3,031
14년 전 조회 733
14년 전 조회 674
14년 전 조회 1,172
14년 전 조회 1,445
14년 전 조회 644
14년 전 조회 726
14년 전 조회 637
14년 전 조회 4,722
14년 전 조회 610
14년 전 조회 5,005
14년 전 조회 1,319
14년 전 조회 1,116
14년 전 조회 585
14년 전 조회 771
14년 전 조회 1,282
14년 전 조회 753
14년 전 조회 1,425
14년 전 조회 929
14년 전 조회 766
14년 전 조회 845
14년 전 조회 2,951
14년 전 조회 668
14년 전 조회 1,230
14년 전 조회 866
14년 전 조회 807
14년 전 조회 722
14년 전 조회 3,362
14년 전 조회 1,273
14년 전 조회 707
14년 전 조회 787
14년 전 조회 762
14년 전 조회 861
14년 전 조회 633
14년 전 조회 700
14년 전 조회 1,359
14년 전 조회 3,219
14년 전 조회 1,627
14년 전 조회 742
14년 전 조회 684
🐛 버그신고