비

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

· 2012-01-10 (화) 13:53:25 · 4584
<!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-02-26 조회 3,176
12-02-26 조회 3,493
12-02-26 조회 3,337
12-02-26 조회 3,417
12-02-26 조회 3,461
12-02-26 조회 3,313
12-02-26 조회 3,635
12-02-26 조회 3,461
12-02-26 조회 3,553
12-02-26 조회 4,036
12-02-26 조회 2,986
12-02-26 조회 5,173
12-02-25 조회 2,738
12-02-25 조회 3,213
12-02-24 조회 2,924
12-02-24 조회 3,308
12-02-24 조회 3,284
12-02-24 조회 3,599
12-02-24 조회 3,130
12-02-24 조회 3,928
12-02-24 조회 3,898
12-02-24 조회 3,503
12-02-24 조회 9,362
12-02-23 조회 2,869
12-02-23 조회 3,320
12-02-23 조회 3,217
12-02-23 조회 3,155
12-02-23 조회 3,804
12-02-23 조회 2,886
12-02-23 조회 3,367
12-02-23 조회 3,049
12-02-23 조회 2,804
12-02-22 조회 3,694
12-02-22 조회 5,463
12-02-22 조회 3,016
12-02-22 조회 4,416
12-02-22 조회 3,289
12-02-22 조회 3,113
12-02-22 조회 4,023
12-02-22 조회 3,913
12-02-22 조회 2,844
12-02-22 조회 3,881
12-02-22 조회 4,340
12-02-22 조회 3,762
12-02-22 조회 2,947
12-02-22 조회 4,596
12-02-21 조회 3,156
12-02-21 조회 2,930
12-02-21 조회 2,838
12-02-21 조회 3,750
12-02-21 조회 3,988
12-02-21 조회 3,413
12-02-21 조회 2,923
12-02-20 조회 3,166
12-02-20 조회 3,803
12-02-20 조회 3,753
12-02-20 조회 3,026
12-02-20 조회 5,815
12-02-20 조회 3,608
12-02-20 조회 6,826
12-02-20 조회 3,221
12-02-20 조회 4,198
12-02-19 조회 3,383
12-02-18 조회 3,116
12-02-18 조회 3,857
12-02-17 조회 2,990
12-02-17 조회 4,184
12-02-17 조회 3,064
12-02-17 조회 3,619
12-02-17 조회 3,396
12-02-17 조회 6,266
12-02-17 조회 4,460
12-02-17 조회 3,086
12-02-17 조회 3,111
12-02-17 조회 3,472
12-02-16 조회 3,301
12-02-16 조회 3,374
12-02-16 조회 4,734
12-02-16 조회 2,981
12-02-16 조회 5,371
12-02-16 조회 5,113
12-02-15 조회 3,667
12-02-15 조회 3,280
12-02-15 조회 4,825
12-02-15 조회 3,316
12-02-15 조회 3,713
12-02-15 조회 2,781
12-02-15 조회 4,058
12-02-14 조회 3,574
12-02-14 조회 3,680
12-02-14 조회 4,093
12-02-14 조회 3,128
12-02-14 조회 6,210
12-02-14 조회 3,156
12-02-14 조회 4,180
12-02-13 조회 3,465
12-02-13 조회 3,086
12-02-13 조회 7,228
12-02-12 조회 2,902
12-02-12 조회 5,281