비

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

· 2012-01-10 (화) 13:53:25 · 4577
<!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건
+
제목 글쓴이 날짜 조회
11-12-23 조회 4,097
11-12-23 조회 3,042
11-12-23 조회 4,867
11-12-23 조회 4,436
11-12-23 조회 2,794
11-12-23 조회 8,125
11-12-22 조회 3,113
11-12-22 조회 3,854
11-12-22 조회 3,609
11-12-22 조회 3,517
11-12-22 조회 3,712
11-12-21 조회 3,561
11-12-21 조회 3,337
11-12-21 조회 3,635
11-12-21 조회 4,024
11-12-21 조회 3,046
11-12-21 조회 3,550
11-12-21 조회 4,476
11-12-21 조회 4,296
11-12-21 조회 3,327
11-12-20 조회 3,793
11-12-19 조회 6,293
11-12-19 조회 2,972
11-12-19 조회 5,049
11-12-17 조회 3,897
11-12-17 조회 4,278
11-12-17 조회 3,570
11-12-16 조회 3,171
11-12-16 조회 3,334
11-12-15 조회 3,386
11-12-15 조회 3,496
11-12-15 조회 4,302
11-12-15 조회 5,605
11-12-15 조회 4,589
11-12-15 조회 3,263
11-12-15 조회 4,031
11-12-15 조회 4,207
11-12-14 조회 2,961
11-12-14 조회 4,392
11-12-14 조회 5,636
11-12-13 조회 4,200
11-12-13 조회 5,094
11-12-13 조회 6,113
11-12-13 조회 6,403
11-12-13 조회 4,807
11-12-12 조회 3,312
11-12-12 조회 3,619
11-12-12 조회 6,292
11-12-12 조회 4,684
11-12-12 조회 3,817
11-12-12 조회 6,183
11-12-11 조회 4,702
11-12-10 조회 2,818
11-12-10 조회 4,760
11-12-09 조회 2,864
11-12-09 조회 3,271
11-12-09 조회 4,191
11-12-09 조회 3,807
11-12-09 조회 4,013
11-12-09 조회 3,563
11-12-09 조회 4,520
11-12-09 조회 3,200
11-12-09 조회 3,349
11-12-09 조회 3,026
11-12-09 조회 3,838
11-12-08 조회 3,612
11-12-08 조회 3,561
11-12-08 조회 7,877
11-12-08 조회 4,183
11-12-08 조회 3,672
11-12-08 조회 2,916
11-12-08 조회 1.2만
11-12-08 조회 3,998
11-12-07 조회 2,870
11-12-07 조회 2,908
11-12-07 조회 3,951
11-12-07 조회 4,549
11-12-07 조회 4,018
11-12-07 조회 3,109
11-12-07 조회 4,435
11-12-06 조회 4,341
11-12-06 조회 5,682
11-12-06 조회 3,738
11-12-06 조회 3,670
11-12-05 조회 3,088
11-12-05 조회 3,383
11-12-05 조회 4,615
11-12-05 조회 3,359
11-12-05 조회 4,974
11-12-05 조회 2,923
11-12-05 조회 5,998
11-12-05 조회 3,121
11-12-05 조회 4,451
11-12-04 조회 5,765
11-12-04 조회 3,013
11-12-04 조회 3,376
11-12-03 조회 3,689
11-12-03 조회 3,050
11-12-03 조회 3,643
11-12-03 조회 3,549