비

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

· 2012-01-10 (화) 13:53:25 · 4600
<!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-01-08 조회 3,067
12-01-07 조회 3,673
12-01-07 조회 3,130
12-01-07 조회 3,040
12-01-07 조회 3,004
12-01-07 조회 5,260
12-01-06 조회 2,794
12-01-06 조회 3,504
12-01-06 조회 2,994
12-01-06 조회 2,945
12-01-06 조회 2,957
12-01-06 조회 5,664
12-01-06 조회 3,710
12-01-06 조회 2,904
12-01-06 조회 3,025
12-01-05 조회 3,086
12-01-05 조회 3,104
12-01-05 조회 2,817
12-01-05 조회 2,909
12-01-05 조회 3,560
12-01-05 조회 5,402
12-01-04 조회 3,852
12-01-04 조회 2,846
12-01-04 조회 2,784
12-01-04 조회 3,006
12-01-04 조회 2,847
12-01-04 조회 2,932
12-01-04 조회 3,083
12-01-04 조회 2,843
12-01-04 조회 5,249
12-01-04 조회 5,122
12-01-04 조회 2,979
12-01-04 조회 3,446
12-01-04 조회 3,117
12-01-04 조회 2,937
12-01-04 조회 5,437
12-01-04 조회 4,602
12-01-04 조회 4,089
12-01-04 조회 3,957
12-01-04 조회 2,782
12-01-03 조회 3,680
12-01-03 조회 2,650
12-01-03 조회 2,676
12-01-03 조회 2,677
12-01-02 조회 3,176
12-01-02 조회 3,235
12-01-02 조회 4,076
12-01-02 조회 3,044
12-01-02 조회 3,262
12-01-02 조회 3,526
12-01-02 조회 3,521
12-01-01 조회 2,726
12-01-01 조회 4,206
12-01-01 조회 3,173
12-01-01 조회 3,547
11-12-31 조회 3,489
11-12-31 조회 3,817
11-12-31 조회 3,920
11-12-31 조회 3,156
11-12-31 조회 3,309
11-12-31 조회 3,744
11-12-30 조회 3,998
11-12-30 조회 3,278
11-12-30 조회 3,335
11-12-30 조회 3,980
11-12-30 조회 5,170
11-12-30 조회 4,267
11-12-30 조회 4,437
11-12-30 조회 3,898
11-12-30 조회 3,623
11-12-30 조회 3,640
11-12-30 조회 3,492
11-12-30 조회 2,684
11-12-30 조회 3,848
11-12-30 조회 7,129
11-12-29 조회 3,703
11-12-29 조회 3,374
11-12-29 조회 3,043
11-12-29 조회 3,263
11-12-29 조회 3,119
11-12-28 조회 2,736
11-12-28 조회 2,885
11-12-28 조회 3,017
11-12-28 조회 2,943
11-12-28 조회 3,806
11-12-27 조회 3,167
11-12-27 조회 2,932
11-12-27 조회 2,834
11-12-27 조회 2,949
11-12-26 조회 3,269
11-12-26 조회 3,169
11-12-26 조회 3,747
11-12-26 조회 3,377
11-12-26 조회 5,939
11-12-25 조회 3,105
11-12-23 조회 3,653
11-12-23 조회 3,598
11-12-23 조회 5,176
11-12-23 조회 4,824
11-12-23 조회 2,915