비

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

· 2012-01-10 (화) 13:53:25 · 4524
<!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>
댓글을 작성하시려면 로그인이 필요합니다.

프로그램

8,188건
+
제목 글쓴이 날짜 조회
12-01-21 조회 3,327
12-01-21 조회 4,118
12-01-21 조회 3,525
12-01-21 조회 3,201
12-01-20 조회 3,085
12-01-20 조회 2,723
12-01-20 조회 3,481
12-01-20 조회 3,317
12-01-20 조회 2,703
12-01-20 조회 3,133
12-01-20 조회 6,236
12-01-19 조회 3,258
12-01-19 조회 4,921
12-01-19 조회 3,195
12-01-19 조회 3,183
12-01-19 조회 3,148
12-01-19 조회 2,769
12-01-18 조회 3,710
12-01-18 조회 2,928
12-01-18 조회 2,671
12-01-18 조회 3,233
12-01-18 조회 2,884
12-01-18 조회 3,075
12-01-17 조회 2,859
12-01-17 조회 3,964
12-01-17 조회 4,388
12-01-17 조회 3,264
12-01-17 조회 3,383
12-01-17 조회 3,127
12-01-17 조회 5,193
12-01-17 조회 2,996
12-01-16 조회 2,734
12-01-16 조회 3,575
12-01-16 조회 4,078
12-01-15 조회 2,891
12-01-15 조회 3,699
12-01-15 조회 3,651
12-01-14 조회 3,543
12-01-14 조회 3,697
12-01-14 조회 3,423
12-01-14 조회 1.1만
12-01-14 조회 3,644
12-01-14 조회 3,965
12-01-14 조회 2,917
12-01-14 조회 2,761
12-01-13 조회 2,901
12-01-13 조회 3,481
12-01-13 조회 4,562
12-01-13 조회 2,909
12-01-12 조회 4,211
12-01-12 조회 4,345
12-01-12 조회 3,348
12-01-12 조회 3,180
12-01-11 조회 2,780
12-01-11 조회 3,206
12-01-11 조회 3,420
12-01-11 조회 3,155
12-01-11 조회 3,147
12-01-11 조회 3,256
12-01-11 조회 3,469
12-01-11 조회 4,250
12-01-11 조회 3,323
12-01-11 조회 2,792
12-01-11 조회 1.2만
12-01-11 조회 3,116
12-01-10 조회 2,933
12-01-10 조회 3,642
12-01-10 조회 4,701
12-01-10 조회 3,387
12-01-10 조회 3,102
12-01-10 조회 2,844
12-01-10 조회 3,758
12-01-10 조회 3,025
12-01-10 조회 4,525
12-01-10 조회 2,908
12-01-10 조회 2,946
12-01-10 조회 3,138
12-01-10 조회 3,793
12-01-10 조회 2,852
12-01-10 조회 4,482
12-01-10 조회 2,876
12-01-10 조회 5,340
12-01-10 조회 5,512
12-01-10 조회 5,396
12-01-10 조회 5,297
12-01-09 조회 2,833
12-01-09 조회 2,759
12-01-09 조회 3,297
12-01-09 조회 3,811
12-01-09 조회 2,763
12-01-09 조회 2,927
12-01-09 조회 2,724
12-01-08 조회 7,060
12-01-08 조회 2,743
12-01-08 조회 7,155
12-01-08 조회 3,678
12-01-08 조회 3,272
12-01-08 조회 2,680
12-01-08 조회 2,839
12-01-08 조회 3,466