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

· 2012-01-10 (화) 13:53:25 · 4403
<!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-22 조회 3,465
12-01-21 조회 2,786
12-01-19 조회 4,804
12-01-18 조회 2,742
12-01-18 조회 2,783
12-01-18 조회 2,989
12-01-17 조회 2,758
12-01-17 조회 2,953
12-01-14 조회 1.1만
12-01-14 조회 3,504
12-01-14 조회 3,815
12-01-11 조회 3,176
12-01-11 조회 3,066
12-01-11 조회 2,987
12-01-11 조회 3,048
12-01-11 조회 3,380
12-01-11 조회 2,569
12-01-10 조회 3,001
12-01-10 조회 2,778
12-01-10 조회 2,796
12-01-09 조회 2,726
12-01-08 조회 2,760
12-01-07 조회 2,770
12-01-06 조회 2,634
12-01-06 조회 2,755
12-01-05 조회 2,751
12-01-02 조회 2,903
11-12-29 조회 2,737
11-12-28 조회 2,744
11-12-28 조회 2,723
11-12-27 조회 2,984
11-12-23 조회 2,671
11-12-23 조회 2,737
11-12-21 조회 3,855
11-12-21 조회 2,834
11-12-19 조회 2,793
11-12-14 조회 4,091
11-12-08 조회 3,169
11-12-08 조회 4,024
11-12-07 조회 4,317
11-12-06 조회 4,220
11-12-06 조회 3,502
11-12-05 조회 3,134
11-12-05 조회 4,773
11-12-04 조회 3,131
11-12-03 조회 3,474
11-12-02 조회 3,341
11-12-02 조회 3,438
11-12-02 조회 2,770
11-12-01 조회 2,738
11-12-01 조회 3,642
11-12-01 조회 2,729
11-11-29 조회 5,618
11-11-23 조회 3,555
11-11-23 조회 3,841
11-11-22 조회 3,875
11-11-22 조회 2,907
11-11-21 조회 3,478
11-11-21 조회 2,761
11-11-18 조회 3,857
11-11-18 조회 3,034
11-11-17 조회 2,927
11-11-17 조회 2,929
11-11-17 조회 4,469
11-11-11 조회 2,795
11-11-11 조회 2,793
11-11-11 조회 3,930
11-11-11 조회 4,600
11-11-08 조회 2,897
11-11-06 조회 3,344
11-11-06 조회 3,635
11-10-21 조회 2,445
11-10-21 조회 2,345
11-10-19 조회 2,398
11-10-19 조회 3,894
11-10-08 조회 2,451
11-10-06 조회 4,134
11-10-01 조회 2,418
11-09-30 조회 2,530
11-09-29 조회 2,537
11-09-26 조회 2,379
11-09-23 조회 2,393
11-09-23 조회 2,166
11-09-22 조회 2,753
11-09-09 조회 3,022
11-08-30 조회 3,910
11-08-23 조회 2,148
11-08-12 조회 2,348
11-08-04 조회 3,941
11-07-01 조회 2,911
11-06-09 조회 2,553
11-05-17 조회 2,592
11-05-07 조회 2,935
11-04-21 조회 2,597
11-04-12 조회 2,414
11-04-11 조회 3,561
11-02-11 조회 2,668
11-02-08 조회 2,085
11-01-11 조회 2,520
10-11-26 조회 3,815