비

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

· 2012-01-10 (화) 13:53:25 · 4463
<!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-01-21 조회 3,283
12-01-21 조회 4,071
12-01-21 조회 3,477
12-01-21 조회 3,149
12-01-20 조회 3,050
12-01-20 조회 2,696
12-01-20 조회 3,451
12-01-20 조회 3,283
12-01-20 조회 2,665
12-01-20 조회 3,094
12-01-20 조회 6,182
12-01-19 조회 3,205
12-01-19 조회 4,866
12-01-19 조회 3,147
12-01-19 조회 3,139
12-01-19 조회 3,105
12-01-19 조회 2,720
12-01-18 조회 3,670
12-01-18 조회 2,884
12-01-18 조회 2,632
12-01-18 조회 3,197
12-01-18 조회 2,840
12-01-18 조회 3,041
12-01-17 조회 2,818
12-01-17 조회 3,914
12-01-17 조회 4,347
12-01-17 조회 3,220
12-01-17 조회 3,342
12-01-17 조회 3,095
12-01-17 조회 5,163
12-01-17 조회 2,955
12-01-16 조회 2,686
12-01-16 조회 3,523
12-01-16 조회 4,034
12-01-15 조회 2,847
12-01-15 조회 3,666
12-01-15 조회 3,618
12-01-14 조회 3,516
12-01-14 조회 3,664
12-01-14 조회 3,386
12-01-14 조회 1.1만
12-01-14 조회 3,616
12-01-14 조회 3,933
12-01-14 조회 2,870
12-01-14 조회 2,723
12-01-13 조회 2,866
12-01-13 조회 3,444
12-01-13 조회 4,508
12-01-13 조회 2,874
12-01-12 조회 4,164
12-01-12 조회 4,298
12-01-12 조회 3,311
12-01-12 조회 3,126
12-01-11 조회 2,728
12-01-11 조회 3,176
12-01-11 조회 3,384
12-01-11 조회 3,108
12-01-11 조회 3,110
12-01-11 조회 3,226
12-01-11 조회 3,440
12-01-11 조회 4,215
12-01-11 조회 3,284
12-01-11 조회 2,756
12-01-11 조회 1.2만
12-01-11 조회 3,076
12-01-10 조회 2,896
12-01-10 조회 3,595
12-01-10 조회 4,655
12-01-10 조회 3,347
12-01-10 조회 3,073
12-01-10 조회 2,813
12-01-10 조회 3,726
12-01-10 조회 2,972
12-01-10 조회 4,464
12-01-10 조회 2,859
12-01-10 조회 2,893
12-01-10 조회 3,090
12-01-10 조회 3,741
12-01-10 조회 2,797
12-01-10 조회 4,432
12-01-10 조회 2,822
12-01-10 조회 5,291
12-01-10 조회 5,480
12-01-10 조회 5,356
12-01-10 조회 5,257
12-01-09 조회 2,799
12-01-09 조회 2,727
12-01-09 조회 3,262
12-01-09 조회 3,771
12-01-09 조회 2,722
12-01-09 조회 2,878
12-01-09 조회 2,684
12-01-08 조회 7,016
12-01-08 조회 2,711
12-01-08 조회 7,120
12-01-08 조회 3,642
12-01-08 조회 3,239
12-01-08 조회 2,643
12-01-08 조회 2,796
12-01-08 조회 3,421