비

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

· 2012-01-10 (화) 13:53:25 · 4489
<!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-04-10 조회 3,978
12-04-06 조회 5,406
12-04-06 조회 3,180
12-04-04 조회 4,281
12-04-02 조회 3,572
12-03-30 조회 3,527
12-03-29 조회 6,069
12-03-28 조회 3,397
12-03-28 조회 4,322
12-03-27 조회 4,612
12-03-23 조회 3,800
12-03-21 조회 3,523
12-03-20 조회 3,327
12-03-18 조회 3,182
12-03-15 조회 3,356
12-03-12 조회 3,428
12-03-12 조회 3,351
12-03-08 조회 3,686
12-03-03 조회 3,776
12-03-03 조회 3,318
12-02-29 조회 3,620
12-02-28 조회 3,595
12-02-28 조회 3,412
12-02-28 조회 3,543
12-02-27 조회 3,983
12-02-27 조회 3,432
12-02-24 조회 3,524
12-02-24 조회 3,430
12-02-23 조회 3,729
12-02-20 조회 3,741
12-02-20 조회 4,128
12-02-17 조회 4,098
12-02-16 조회 3,285
12-02-15 조회 3,575
12-02-15 조회 3,628
12-02-14 조회 3,596
12-02-08 조회 3,566
12-02-06 조회 3,526
12-02-06 조회 3,944
12-01-25 조회 4,178
12-01-21 조회 4,088
12-01-20 조회 6,199
12-01-15 조회 3,673
12-01-15 조회 3,632
12-01-14 조회 3,527
12-01-14 조회 3,676
12-01-14 조회 3,400
12-01-12 조회 4,182
12-01-12 조회 4,311
12-01-10 조회 3,609
12-01-10 조회 4,451
12-01-09 조회 3,784
12-01-08 조회 7,034
12-01-08 조회 3,253
12-01-07 조회 3,607
12-01-06 조회 3,620
12-01-04 조회 3,767
12-01-03 조회 3,609
12-01-02 조회 4,011
12-01-02 조회 3,194
12-01-01 조회 4,137
12-01-01 조회 3,478
11-12-31 조회 3,743
11-12-31 조회 3,853
11-12-31 조회 3,672
11-12-30 조회 3,925
11-12-30 조회 5,093
11-12-30 조회 4,200
11-12-30 조회 4,361
11-12-30 조회 3,815
11-12-30 조회 3,544
11-12-30 조회 3,556
11-12-29 조회 3,291
11-12-22 조회 3,531
11-12-21 조회 3,479
11-12-20 조회 3,724
11-12-15 조회 5,505
11-12-15 조회 4,499
11-12-14 조회 5,556
11-12-12 조회 3,713
11-12-03 조회 3,489
11-11-26 조회 3,662
11-11-19 조회 3,796
11-11-01 조회 3,150
11-10-23 조회 2,772
11-10-21 조회 2,821
11-10-15 조회 3,201
11-10-15 조회 2,943
11-10-15 조회 3,620
11-10-15 조회 2,855
11-10-14 조회 2,884
11-10-13 조회 2,652
11-10-11 조회 2,892
11-10-10 조회 2,749
11-09-30 조회 3,581
11-09-30 조회 3,024
11-09-29 조회 4,857
11-09-29 조회 2,682
11-09-23 조회 2,757
11-09-16 조회 3,094