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

· 14년 전 · 2786
<!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년 전 조회 2,270
14년 전 조회 2,770
14년 전 조회 1,574
14년 전 조회 1,561
14년 전 조회 1,334
14년 전 조회 3,376
14년 전 조회 1,353
14년 전 조회 1,080
14년 전 조회 1,900
14년 전 조회 2,317
14년 전 조회 1,266
14년 전 조회 1,856
14년 전 조회 1,864
14년 전 조회 1,900
14년 전 조회 2,023
14년 전 조회 1,697
14년 전 조회 9,157
14년 전 조회 1,801
14년 전 조회 2,102
14년 전 조회 1,232
14년 전 조회 1,125
14년 전 조회 1,262
14년 전 조회 1,637
14년 전 조회 2,647
14년 전 조회 1,190
14년 전 조회 2,136
14년 전 조회 2,411
14년 전 조회 1,545
14년 전 조회 1,479
14년 전 조회 1,034
14년 전 조회 1,616
14년 전 조회 1,511
14년 전 조회 1,367
14년 전 조회 1,287
14년 전 조회 1,332
14년 전 조회 1,702
14년 전 조회 2,479
14년 전 조회 1,601
14년 전 조회 1,062
14년 전 조회 1만
14년 전 조회 1,377
14년 전 조회 1,248
14년 전 조회 1,833
14년 전 조회 2,939
14년 전 조회 1,760
14년 전 조회 1,434
14년 전 조회 1,212
14년 전 조회 2,115
14년 전 조회 1,434
14년 전 조회 2,787
14년 전 조회 1,232
14년 전 조회 1,224
14년 전 조회 1,350
14년 전 조회 2,098
14년 전 조회 1,223
14년 전 조회 2,718
14년 전 조회 1,017
14년 전 조회 3,640
14년 전 조회 3,791
14년 전 조회 3,722
14년 전 조회 3,539
14년 전 조회 1,180
14년 전 조회 1,156
14년 전 조회 1,680
14년 전 조회 1,924
14년 전 조회 1,114
14년 전 조회 1,203
14년 전 조회 1,077
14년 전 조회 5,193
14년 전 조회 1,071
14년 전 조회 5,470
14년 전 조회 1,785
14년 전 조회 1,600
14년 전 조회 1,045
14년 전 조회 1,235
14년 전 조회 1,746
14년 전 조회 1,244
14년 전 조회 1,903
14년 전 조회 1,442
14년 전 조회 1,181
14년 전 조회 1,328
14년 전 조회 3,367
14년 전 조회 1,146
14년 전 조회 1,699
14년 전 조회 1,337
14년 전 조회 1,298
14년 전 조회 1,185
14년 전 조회 3,827
14년 전 조회 1,737
14년 전 조회 1,192
14년 전 조회 1,252
14년 전 조회 1,234
14년 전 조회 1,313
14년 전 조회 1,113
14년 전 조회 1,192
14년 전 조회 1,825
14년 전 조회 3,686
14년 전 조회 2,116
14년 전 조회 1,183
14년 전 조회 1,163