비

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

· 2012-01-10 (화) 13:53:25 · 4445
<!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-04-26 조회 3,768
12-04-24 조회 3,168
12-04-23 조회 4,518
12-04-22 조회 3,215
12-04-19 조회 3,285
12-04-18 조회 4,352
12-04-18 조회 3,064
12-04-17 조회 3,332
12-04-17 조회 5,094
12-04-16 조회 3,498
12-04-13 조회 3,038
12-04-09 조회 3,104
12-04-04 조회 3,884
12-04-01 조회 3,170
12-03-31 조회 3,548
12-03-30 조회 3,167
12-03-30 조회 3,825
12-03-26 조회 3,446
12-03-26 조회 3,006
12-03-22 조회 3,173
12-03-21 조회 3,024
12-03-19 조회 3,444
12-03-17 조회 3,471
12-03-14 조회 3,197
12-03-10 조회 3,876
12-03-09 조회 3,460
12-03-09 조회 3,285
12-03-08 조회 3,759
12-03-08 조회 3,915
12-03-08 조회 4,023
12-03-03 조회 3,246
12-03-02 조회 4,599
12-02-28 조회 3,114
12-02-27 조회 2,921
12-02-25 조회 3,101
12-02-24 조회 3,800
12-02-23 조회 3,075
12-02-22 조회 3,600
12-02-22 조회 5,371
12-02-22 조회 3,939
12-02-22 조회 4,255
12-02-18 조회 3,741
12-02-17 조회 2,953
12-02-17 조회 3,366
12-02-14 조회 3,442
12-02-13 조회 3,321
12-02-10 조회 1만
12-02-08 조회 2,983
12-02-07 조회 3,329
12-02-06 조회 3,042
12-02-05 조회 3,521
12-01-31 조회 3,428
12-01-30 조회 9,626
12-01-29 조회 3,751
12-01-26 조회 3,391
12-01-25 조회 3,979
12-01-24 조회 3,378
12-01-10 조회 3,706
12-01-10 조회 4,446
12-01-09 조회 3,244
12-01-08 조회 7,103
12-01-08 조회 3,625
12-01-07 조회 5,140
12-01-04 조회 3,860
12-01-02 조회 3,077
12-01-02 조회 3,137
12-01-02 조회 3,447
12-01-01 조회 3,075
11-12-31 조회 3,373
11-12-31 조회 3,050
11-12-30 조회 3,227
11-12-30 조회 3,368
11-12-29 조회 3,567
11-12-28 조회 3,679
11-12-26 조회 3,243
11-12-23 조회 3,473
11-12-22 조회 3,003
11-12-15 조회 4,096
11-12-08 조회 3,928
11-12-05 조회 3,257
11-12-04 조회 5,681
11-12-03 조회 3,532
11-12-02 조회 3,311
11-12-01 조회 5,377
11-11-30 조회 2,867
11-11-30 조회 2,774
11-11-28 조회 3,116
11-11-26 조회 3,284
11-11-25 조회 3,309
11-11-24 조회 2,927
11-11-22 조회 3,002
11-11-22 조회 2,854
11-11-17 조회 2,783
11-11-11 조회 2,798
11-11-09 조회 2,855
11-11-08 조회 3,220
11-11-08 조회 2,514
11-11-04 조회 3,594
11-11-01 조회 2,906
11-10-26 조회 2,485