비

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

· 2012-01-10 (화) 13:53:25 · 4541
<!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건
+
제목 글쓴이 날짜 조회
13-03-03 조회 6,270
13-03-01 조회 5,597
13-03-01 조회 8,341
13-03-01 조회 6,341
13-02-26 조회 3,941
13-02-26 조회 3,896
13-02-26 조회 4,784
13-02-24 조회 8,195
13-02-24 조회 4,276
13-02-24 조회 3,517
13-02-24 조회 5,334
13-02-24 조회 5,326
13-02-24 조회 4,388
13-02-24 조회 5,726
13-02-24 조회 9,424
13-02-14 조회 5,149
13-02-13 조회 9,078
13-01-29 조회 7,712
13-01-24 조회 5,057
13-01-24 조회 4,933
13-01-17 조회 4,353
13-01-16 조회 4,378
13-01-08 조회 4,425
12-12-27 조회 4,097
12-12-20 조회 1.1만
12-12-20 조회 3,413
12-12-06 조회 4,412
12-12-01 조회 4,177
12-11-28 조회 5,736
12-11-25 조회 5,446
12-10-20 조회 4,695
12-10-03 조회 4,856
12-09-26 조회 5,018
12-09-15 조회 8,464
12-09-14 조회 5,476
12-09-11 조회 3,990
12-09-10 조회 3,993
12-09-05 조회 8,878
12-08-29 조회 4,691
12-08-26 조회 3,827
12-08-23 조회 3,517
12-08-22 조회 3,601
12-08-22 조회 4,415
12-08-21 조회 3,557
12-08-20 조회 3,489
12-08-20 조회 9,295
12-08-15 조회 4,413
12-08-13 조회 3,317
12-08-11 조회 4,738
12-08-05 조회 4,597
12-08-03 조회 3,374
12-08-03 조회 4,062
12-08-02 조회 5,052
12-07-29 조회 4,166
12-07-26 조회 3,736
12-07-26 조회 3,607
12-07-22 조회 3,528
12-07-20 조회 3,358
12-07-19 조회 4,216
12-07-19 조회 3,473
12-07-16 조회 3,584
12-07-16 조회 4,510
12-07-15 조회 3,589
12-07-12 조회 7,417
12-07-12 조회 5,057
12-07-11 조회 3,104
12-07-09 조회 3,262
12-07-05 조회 3,880
12-07-04 조회 4,454
12-07-04 조회 3,854
12-07-04 조회 4,381
12-06-29 조회 3,848
12-06-27 조회 3,436
12-06-24 조회 3,909
12-06-22 조회 4,228
12-06-22 조회 8,623
12-06-22 조회 3,291
12-06-21 조회 3,311
12-06-17 조회 3,951
12-06-14 조회 4,047
12-06-14 조회 3,336
12-06-08 조회 4,475
12-06-06 조회 3,434
12-06-04 조회 4,200
12-05-26 조회 5,007
12-05-26 조회 3,960
12-05-25 조회 3,257
12-05-24 조회 3,359
12-05-22 조회 3,409
12-05-20 조회 3,037
12-05-16 조회 3,166
12-05-15 조회 3,556
12-05-10 조회 3,979
12-05-08 조회 3,519
12-05-04 조회 3,365
12-05-03 조회 4,320
12-05-02 조회 3,450
12-05-02 조회 3,216
12-05-02 조회 3,321
12-04-26 조회 3,481