비

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

· 2012-01-10 (화) 13:53:25 · 4603
<!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-08-25 조회 3,698
11-08-25 조회 2,896
11-08-25 조회 2,591
11-08-24 조회 2,489
11-08-24 조회 3,120
11-08-24 조회 4,440
11-08-23 조회 2,509
11-08-23 조회 4,347
11-08-23 조회 3,493
11-08-23 조회 2,569
11-08-23 조회 2,805
11-08-23 조회 2,722
11-08-23 조회 2,851
11-08-23 조회 2,309
11-08-23 조회 2,448
11-08-23 조회 2,617
11-08-23 조회 3,017
11-08-23 조회 2,609
11-08-22 조회 3,047
11-08-22 조회 2,761
11-08-22 조회 2,904
11-08-22 조회 2,499
11-08-22 조회 2,768
11-08-21 조회 2,709
11-08-21 조회 2,640
11-08-20 조회 2,536
11-08-20 조회 2,904
11-08-20 조회 3,333
11-08-19 조회 2,742
11-08-19 조회 2,529
11-08-19 조회 5,057
11-08-19 조회 2,675
11-08-19 조회 2,526
11-08-19 조회 3,795
11-08-19 조회 3,238
11-08-18 조회 3,728
11-08-18 조회 2,258
11-08-18 조회 2,491
11-08-18 조회 2,319
11-08-18 조회 2,165
11-08-18 조회 2,288
11-08-18 조회 2,420
11-08-17 조회 3,219
11-08-17 조회 2,609
11-08-17 조회 2,751
11-08-17 조회 2,297
11-08-17 조회 2,713
11-08-17 조회 3,425
11-08-17 조회 2,834
11-08-16 조회 3,074
11-08-16 조회 2,577
11-08-16 조회 2,672
11-08-16 조회 2,532
11-08-16 조회 2,862
11-08-16 조회 2,659
11-08-16 조회 2,074
11-08-16 조회 2,235
11-08-16 조회 2,287
11-08-16 조회 2,652
11-08-16 조회 2,547
11-08-16 조회 2,551
11-08-15 조회 2,503
11-08-15 조회 3,026
11-08-13 조회 2,652
11-08-13 조회 2,692
11-08-13 조회 2,579
11-08-12 조회 2,375
11-08-12 조회 3,507
11-08-12 조회 3,291
11-08-12 조회 2,737
11-08-12 조회 2,541
11-08-11 조회 3,715
11-08-11 조회 3,010
11-08-11 조회 2,945
11-08-11 조회 2,475
11-08-10 조회 3,245
11-08-10 조회 5,460
11-08-10 조회 4,155
11-08-09 조회 2,735
11-08-09 조회 2,334
11-08-09 조회 2,415
11-08-09 조회 3,039
11-08-09 조회 2,689
11-08-09 조회 2,981
11-08-08 조회 3,076
11-08-08 조회 3,119
11-08-08 조회 2,214
11-08-08 조회 2,491
11-08-08 조회 4,409
11-08-08 조회 2,433
11-08-08 조회 2,965
11-08-08 조회 2,512
11-08-08 조회 2,316
11-08-08 조회 3,089
11-08-08 조회 2,344
11-08-07 조회 3,156
11-08-07 조회 2,710
11-08-06 조회 3,324
11-08-06 조회 3,331
11-08-06 조회 2,890