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

· 14년 전 · 2968
<!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,448
14년 전 조회 2,943
14년 전 조회 1,749
14년 전 조회 1,733
14년 전 조회 1,519
14년 전 조회 3,554
14년 전 조회 1,543
14년 전 조회 1,267
14년 전 조회 2,081
14년 전 조회 2,490
14년 전 조회 1,444
14년 전 조회 2,036
14년 전 조회 2,043
14년 전 조회 2,085
14년 전 조회 2,217
14년 전 조회 1,886
14년 전 조회 9,372
14년 전 조회 1,992
14년 전 조회 2,298
14년 전 조회 1,422
14년 전 조회 1,336
14년 전 조회 1,456
14년 전 조회 1,836
14년 전 조회 2,843
14년 전 조회 1,376
14년 전 조회 2,351
14년 전 조회 2,606
14년 전 조회 1,722
14년 전 조회 1,656
14년 전 조회 1,210
14년 전 조회 1,785
14년 전 조회 1,684
14년 전 조회 1,557
14년 전 조회 1,475
14년 전 조회 1,521
14년 전 조회 1,876
14년 전 조회 2,658
14년 전 조회 1,782
14년 전 조회 1,246
14년 전 조회 1.1만
14년 전 조회 1,548
14년 전 조회 1,415
14년 전 조회 1,998
14년 전 조회 3,112
14년 전 조회 1,928
14년 전 조회 1,620
14년 전 조회 1,388
14년 전 조회 2,288
14년 전 조회 1,597
14년 전 조회 2,969
14년 전 조회 1,419
14년 전 조회 1,422
14년 전 조회 1,538
14년 전 조회 2,222
14년 전 조회 1,395
14년 전 조회 2,894
14년 전 조회 1,201
14년 전 조회 3,808
14년 전 조회 3,957
14년 전 조회 3,883
14년 전 조회 3,683
14년 전 조회 1,375
14년 전 조회 1,340
14년 전 조회 1,867
14년 전 조회 2,103
14년 전 조회 1,288
14년 전 조회 1,385
14년 전 조회 1,261
14년 전 조회 5,367
14년 전 조회 1,257
14년 전 조회 5,654
14년 전 조회 1,965
14년 전 조회 1,777
14년 전 조회 1,212
14년 전 조회 1,408
14년 전 조회 1,908
14년 전 조회 1,414
14년 전 조회 2,063
14년 전 조회 1,609
14년 전 조회 1,378
14년 전 조회 1,491
14년 전 조회 3,559
14년 전 조회 1,322
14년 전 조회 1,877
14년 전 조회 1,517
14년 전 조회 1,475
14년 전 조회 1,340
14년 전 조회 3,987
14년 전 조회 1,905
14년 전 조회 1,374
14년 전 조회 1,434
14년 전 조회 1,417
14년 전 조회 1,494
14년 전 조회 1,268
14년 전 조회 1,372
14년 전 조회 1,990
14년 전 조회 3,866
14년 전 조회 2,298
14년 전 조회 1,353
14년 전 조회 1,343