비

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

· 2012-01-10 (화) 13:53:25 · 4622
<!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-04-06 조회 3,096
12-04-06 조회 3,298
12-04-05 조회 3,721
12-04-05 조회 3,126
12-04-05 조회 4,755
12-04-05 조회 3,414
12-04-05 조회 4,090
12-04-04 조회 4,377
12-04-04 조회 4,017
12-04-03 조회 3,354
12-04-03 조회 3,932
12-04-03 조회 3,233
12-04-03 조회 2,966
12-04-02 조회 3,681
12-04-02 조회 3,385
12-04-01 조회 3,307
12-04-01 조회 3,151
12-04-01 조회 3,376
12-03-31 조회 3,226
12-03-31 조회 3,699
12-03-30 조회 3,309
12-03-30 조회 2,961
12-03-30 조회 3,625
12-03-30 조회 3,294
12-03-30 조회 3,973
12-03-30 조회 3,422
12-03-29 조회 6,172
12-03-29 조회 3,983
12-03-29 조회 4,715
12-03-29 조회 3,183
12-03-28 조회 2,778
12-03-28 조회 3,499
12-03-28 조회 4,432
12-03-28 조회 3,221
12-03-27 조회 4,715
12-03-27 조회 3,131
12-03-27 조회 3,515
12-03-26 조회 4,200
12-03-26 조회 3,593
12-03-26 조회 3,160
12-03-26 조회 3,892
12-03-26 조회 6,259
12-03-25 조회 2,841
12-03-25 조회 2,990
12-03-24 조회 3,060
12-03-24 조회 6,522
12-03-24 조회 3,687
12-03-24 조회 3,946
12-03-23 조회 3,910
12-03-23 조회 3,096
12-03-23 조회 2,983
12-03-23 조회 3,113
12-03-22 조회 3,970
12-03-22 조회 3,360
12-03-22 조회 3,607
12-03-22 조회 4,825
12-03-22 조회 3,304
12-03-22 조회 3,782
12-03-22 조회 3,665
12-03-22 조회 2,940
12-03-22 조회 5,857
12-03-22 조회 3,596
12-03-22 조회 5,146
12-03-21 조회 3,369
12-03-21 조회 3,161
12-03-21 조회 3,266
12-03-21 조회 2,961
12-03-21 조회 3,668
12-03-21 조회 3,653
12-03-21 조회 4,998
12-03-21 조회 6,541
12-03-21 조회 2,923
12-03-20 조회 5,727
12-03-20 조회 2,912
12-03-20 조회 3,433
12-03-20 조회 3,181
12-03-20 조회 3,439
12-03-20 조회 4,192
12-03-19 조회 3,653
12-03-19 조회 2,895
12-03-19 조회 3,590
12-03-18 조회 3,315
12-03-17 조회 3,613
12-03-17 조회 4,198
12-03-17 조회 3,425
12-03-16 조회 3,041
12-03-16 조회 4,205
12-03-16 조회 3,454
12-03-15 조회 3,051
12-03-15 조회 3,127
12-03-15 조회 3,452
12-03-15 조회 2,854
12-03-14 조회 4,076
12-03-14 조회 3,332
12-03-14 조회 3,398
12-03-14 조회 3,041
12-03-13 조회 3,694
12-03-13 조회 4,562
12-03-13 조회 2,914
12-03-13 조회 2,857