비

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

· 2012-01-10 (화) 13:53:25 · 4614
<!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,187건
+
제목 글쓴이 날짜 조회
12-03-13 조회 3,042
12-03-12 조회 5,634
12-03-12 조회 3,119
12-03-12 조회 3,768
12-03-12 조회 3,516
12-03-12 조회 3,080
12-03-12 조회 1만
12-03-12 조회 3,436
12-03-12 조회 4,081
12-03-12 조회 3,069
12-03-12 조회 3,434
12-03-12 조회 3,328
12-03-12 조회 4,271
12-03-12 조회 5,880
12-03-12 조회 3,853
12-03-12 조회 5,666
12-03-12 조회 3,878
12-03-12 조회 6,288
12-03-11 조회 3,778
12-03-11 조회 3,221
12-03-11 조회 4,150
12-03-11 조회 4,963
12-03-11 조회 3,865
12-03-11 조회 3,835
12-03-11 조회 5,500
12-03-10 조회 3,511
12-03-10 조회 3,094
12-03-10 조회 4,002
12-03-10 조회 3,126
12-03-09 조회 7,469
12-03-09 조회 3,218
12-03-09 조회 3,620
12-03-09 조회 3,208
12-03-09 조회 3,226
12-03-09 조회 3,425
12-03-09 조회 4,202
12-03-08 조회 3,900
12-03-08 조회 3,774
12-03-08 조회 4,062
12-03-08 조회 6,180
12-03-08 조회 3,087
12-03-08 조회 4,179
12-03-08 조회 4,074
12-03-07 조회 2,996
12-03-07 조회 3,148
12-03-07 조회 2,836
12-03-06 조회 1.1만
12-03-06 조회 3,295
12-03-06 조회 4,352
12-03-06 조회 3,897
12-03-06 조회 3,237
12-03-06 조회 2,977
12-03-06 조회 6,401
12-03-06 조회 3,066
12-03-05 조회 3,154
12-03-04 조회 4,385
12-03-03 조회 3,764
12-03-03 조회 3,889
12-03-03 조회 3,437
12-03-03 조회 3,417
12-03-02 조회 3,242
12-03-02 조회 3,524
12-03-02 조회 3,363
12-03-02 조회 4,317
12-03-02 조회 3,474
12-03-02 조회 5,202
12-03-02 조회 3,085
12-03-02 조회 4,732
12-03-01 조회 5,240
12-03-01 조회 6,585
12-03-01 조회 3,390
12-02-29 조회 3,609
12-02-29 조회 4,091
12-02-29 조회 3,712
12-02-29 조회 3,748
12-02-29 조회 5,528
12-02-28 조회 3,684
12-02-28 조회 3,507
12-02-28 조회 3,675
12-02-28 조회 3,657
12-02-28 조회 3,280
12-02-27 조회 4,526
12-02-27 조회 4,373
12-02-27 조회 4,129
12-02-27 조회 3,569
12-02-27 조회 3,383
12-02-27 조회 3,102
12-02-27 조회 4,274
12-02-27 조회 5,184
12-02-27 조회 3,931
12-02-26 조회 4,184
12-02-26 조회 3,622
12-02-26 조회 3,656
12-02-26 조회 3,802
12-02-26 조회 3,511
12-02-26 조회 3,423
12-02-26 조회 3,370
12-02-26 조회 3,723
12-02-26 조회 3,840
12-02-26 조회 3,467