비

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

· 2012-01-10 (화) 13:53:25 · 4623
<!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-06-21 조회 4,061
12-06-21 조회 3,596
12-06-20 조회 3,768
12-06-20 조회 4,315
12-06-20 조회 3,405
12-06-20 조회 4,751
12-06-20 조회 3,398
12-06-20 조회 3,350
12-06-20 조회 4,165
12-06-20 조회 4,386
12-06-18 조회 4,921
12-06-18 조회 3,575
12-06-18 조회 3,707
12-06-18 조회 3,498
12-06-18 조회 4,243
12-06-18 조회 4,898
12-06-17 조회 4,103
12-06-17 조회 4,020
12-06-17 조회 3,653
12-06-16 조회 3,453
12-06-15 조회 3,273
12-06-15 조회 3,973
12-06-15 조회 4,729
12-06-15 조회 4,451
12-06-14 조회 4,093
12-06-14 조회 4,108
12-06-14 조회 3,199
12-06-14 조회 3,608
12-06-14 조회 4,913
12-06-14 조회 3,397
12-06-14 조회 3,254
12-06-13 조회 7,474
12-06-13 조회 3,728
12-06-12 조회 5,707
12-06-11 조회 3,588
12-06-11 조회 3,593
12-06-11 조회 3,592
12-06-11 조회 3,490
12-06-11 조회 4,058
12-06-11 조회 3,369
12-06-08 조회 3,437
12-06-08 조회 4,929
12-06-08 조회 3,247
12-06-08 조회 5,006
12-06-08 조회 4,023
12-06-08 조회 3,556
12-06-08 조회 3,514
12-06-08 조회 4,536
12-06-08 조회 3,145
12-06-08 조회 3,827
12-06-07 조회 4,120
12-06-07 조회 4,013
12-06-06 조회 3,416
12-06-06 조회 3,500
12-06-06 조회 3,805
12-06-06 조회 6,480
12-06-06 조회 6,046
12-06-06 조회 6,793
12-06-05 조회 5,906
12-06-05 조회 3,325
12-06-05 조회 3,414
12-06-05 조회 3,429
12-06-05 조회 1.2만
12-06-05 조회 5,079
12-06-05 조회 5,582
12-06-05 조회 5,354
12-06-05 조회 5,694
12-06-05 조회 3,646
12-06-05 조회 3,578
12-06-05 조회 7,448
12-06-04 조회 3,413
12-06-04 조회 4,264
12-06-04 조회 3,980
12-06-04 조회 4,042
12-06-03 조회 3,890
12-06-02 조회 3,298
12-06-02 조회 4,016
12-06-01 조회 3,437
12-06-01 조회 4,191
12-06-01 조회 3,756
12-06-01 조회 3,383
12-06-01 조회 4,899
12-06-01 조회 3,756
12-06-01 조회 3,362
12-05-31 조회 5,053
12-05-31 조회 3,861
12-05-31 조회 3,788
12-05-31 조회 3,780
12-05-31 조회 3,592
12-05-30 조회 3,243
12-05-30 조회 3,292
12-05-30 조회 4,106
12-05-30 조회 3,354
12-05-29 조회 4,563
12-05-29 조회 3,888
12-05-28 조회 3,268
12-05-28 조회 6,718
12-05-28 조회 3,352
12-05-27 조회 4,680
12-05-27 조회 3,943