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

· 14년 전 · 2467
<!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,922
14년 전 조회 2,390
14년 전 조회 1,225
14년 전 조회 1,205
14년 전 조회 967
14년 전 조회 3,010
14년 전 조회 1,012
14년 전 조회 718
14년 전 조회 1,540
14년 전 조회 1,938
14년 전 조회 899
14년 전 조회 1,508
14년 전 조회 1,514
14년 전 조회 1,577
14년 전 조회 1,658
14년 전 조회 1,330
14년 전 조회 8,811
14년 전 조회 1,426
14년 전 조회 1,689
14년 전 조회 822
14년 전 조회 806
14년 전 조회 905
14년 전 조회 1,266
14년 전 조회 2,284
14년 전 조회 827
14년 전 조회 1,845
14년 전 조회 2,081
14년 전 조회 1,207
14년 전 조회 1,133
14년 전 조회 711
14년 전 조회 1,284
14년 전 조회 1,187
14년 전 조회 1,062
14년 전 조회 967
14년 전 조회 1,017
14년 전 조회 1,381
14년 전 조회 2,160
14년 전 조회 1,263
14년 전 조회 736
14년 전 조회 1만
14년 전 조회 1,051
14년 전 조회 915
14년 전 조회 1,531
14년 전 조회 2,615
14년 전 조회 1,448
14년 전 조회 1,122
14년 전 조회 898
14년 전 조회 1,803
14년 전 조회 1,109
14년 전 조회 2,468
14년 전 조회 913
14년 전 조회 920
14년 전 조회 1,023
14년 전 조회 1,706
14년 전 조회 895
14년 전 조회 2,421
14년 전 조회 706
14년 전 조회 3,319
14년 전 조회 3,483
14년 전 조회 3,391
14년 전 조회 3,205
14년 전 조회 880
14년 전 조회 838
14년 전 조회 1,342
14년 전 조회 1,633
14년 전 조회 791
14년 전 조회 872
14년 전 조회 778
14년 전 조회 4,893
14년 전 조회 750
14년 전 조회 5,146
14년 전 조회 1,447
14년 전 조회 1,306
14년 전 조회 722
14년 전 조회 907
14년 전 조회 1,414
14년 전 조회 910
14년 전 조회 1,594
14년 전 조회 1,090
14년 전 조회 905
14년 전 조회 1,027
14년 전 조회 3,074
14년 전 조회 833
14년 전 조회 1,364
14년 전 조회 1,014
14년 전 조회 956
14년 전 조회 859
14년 전 조회 3,502
14년 전 조회 1,454
14년 전 조회 868
14년 전 조회 931
14년 전 조회 916
14년 전 조회 1,015
14년 전 조회 778
14년 전 조회 883
14년 전 조회 1,511
14년 전 조회 3,372
14년 전 조회 1,814
14년 전 조회 873
14년 전 조회 838