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

· 14년 전 · 3265
<!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,801
14년 전 조회 3,244
14년 전 조회 2,086
14년 전 조회 2,088
14년 전 조회 1,829
14년 전 조회 3,895
14년 전 조회 1,873
14년 전 조회 1,598
14년 전 조회 2,440
14년 전 조회 2,838
14년 전 조회 1,802
14년 전 조회 2,377
14년 전 조회 2,363
14년 전 조회 2,437
14년 전 조회 2,564
14년 전 조회 2,216
14년 전 조회 9,694
14년 전 조회 2,320
14년 전 조회 2,582
14년 전 조회 1,723
14년 전 조회 1,667
14년 전 조회 1,777
14년 전 조회 2,135
14년 전 조회 3,183
14년 전 조회 1,710
14년 전 조회 2,666
14년 전 조회 2,944
14년 전 조회 2,024
14년 전 조회 1,971
14년 전 조회 1,538
14년 전 조회 2,102
14년 전 조회 1,988
14년 전 조회 1,875
14년 전 조회 1,779
14년 전 조회 1,822
14년 전 조회 2,176
14년 전 조회 2,994
14년 전 조회 2,069
14년 전 조회 1,567
14년 전 조회 1.1만
14년 전 조회 1,854
14년 전 조회 1,739
14년 전 조회 2,296
14년 전 조회 3,421
14년 전 조회 2,213
14년 전 조회 1,932
14년 전 조회 1,714
14년 전 조회 2,600
14년 전 조회 1,880
14년 전 조회 3,266
14년 전 조회 1,711
14년 전 조회 1,726
14년 전 조회 1,825
14년 전 조회 2,543
14년 전 조회 1,682
14년 전 조회 3,172
14년 전 조회 1,502
14년 전 조회 4,121
14년 전 조회 4,277
14년 전 조회 4,207
14년 전 조회 4,013
14년 전 조회 1,696
14년 전 조회 1,633
14년 전 조회 2,148
14년 전 조회 2,418
14년 전 조회 1,610
14년 전 조회 1,678
14년 전 조회 1,606
14년 전 조회 5,677
14년 전 조회 1,557
14년 전 조회 5,959
14년 전 조회 2,274
14년 전 조회 2,067
14년 전 조회 1,525
14년 전 조회 1,712
14년 전 조회 2,249
14년 전 조회 1,717
14년 전 조회 2,371
14년 전 조회 1,895
14년 전 조회 1,663
14년 전 조회 1,815
14년 전 조회 3,858
14년 전 조회 1,615
14년 전 조회 2,210
14년 전 조회 1,815
14년 전 조회 1,775
14년 전 조회 1,630
14년 전 조회 4,309
14년 전 조회 2,230
14년 전 조회 1,669
14년 전 조회 1,751
14년 전 조회 1,744
14년 전 조회 1,813
14년 전 조회 1,582
14년 전 조회 1,677
14년 전 조회 2,320
14년 전 조회 4,185
14년 전 조회 2,618
14년 전 조회 1,682
14년 전 조회 1,660