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

· 14년 전 · 2390
<!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,850
14년 전 조회 2,307
14년 전 조회 1,158
14년 전 조회 1,141
14년 전 조회 883
14년 전 조회 2,895
14년 전 조회 927
14년 전 조회 638
14년 전 조회 1,450
14년 전 조회 1,863
14년 전 조회 812
14년 전 조회 1,389
14년 전 조회 1,405
14년 전 조회 1,456
14년 전 조회 1,548
14년 전 조회 1,211
14년 전 조회 8,736
14년 전 조회 1,345
14년 전 조회 1,615
14년 전 조회 770
14년 전 조회 722
14년 전 조회 821
14년 전 조회 1,177
14년 전 조회 2,217
14년 전 조회 740
14년 전 조회 1,763
14년 전 조회 1,971
14년 전 조회 1,120
14년 전 조회 1,050
14년 전 조회 631
14년 전 조회 1,195
14년 전 조회 1,104
14년 전 조회 965
14년 전 조회 881
14년 전 조회 943
14년 전 조회 1,289
14년 전 조회 2,076
14년 전 조회 1,184
14년 전 조회 654
14년 전 조회 1만
14년 전 조회 972
14년 전 조회 838
14년 전 조회 1,420
14년 전 조회 2,544
14년 전 조회 1,351
14년 전 조회 1,035
14년 전 조회 812
14년 전 조회 1,723
14년 전 조회 1,015
14년 전 조회 2,391
14년 전 조회 812
14년 전 조회 814
14년 전 조회 943
14년 전 조회 1,586
14년 전 조회 810
14년 전 조회 2,302
14년 전 조회 647
14년 전 조회 3,229
14년 전 조회 3,386
14년 전 조회 3,293
14년 전 조회 3,108
14년 전 조회 805
14년 전 조회 757
14년 전 조회 1,256
14년 전 조회 1,515
14년 전 조회 720
14년 전 조회 802
14년 전 조회 710
14년 전 조회 4,792
14년 전 조회 684
14년 전 조회 5,067
14년 전 조회 1,388
14년 전 조회 1,185
14년 전 조회 658
14년 전 조회 853
14년 전 조회 1,361
14년 전 조회 833
14년 전 조회 1,481
14년 전 조회 1,005
14년 전 조회 838
14년 전 조회 931
14년 전 조회 3,009
14년 전 조회 742
14년 전 조회 1,308
14년 전 조회 949
14년 전 조회 883
14년 전 조회 792
14년 전 조회 3,440
14년 전 조회 1,351
14년 전 조회 784
14년 전 조회 858
14년 전 조회 846
14년 전 조회 944
14년 전 조회 704
14년 전 조회 781
14년 전 조회 1,436
14년 전 조회 3,304
14년 전 조회 1,705
14년 전 조회 797
14년 전 조회 763