비

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

· 2012-01-10 (화) 13:53:25 · 4421
<!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-03-19 조회 3,452
12-03-16 조회 4,022
12-03-14 조회 3,899
12-03-13 조회 3,519
12-03-13 조회 4,391
12-03-12 조회 5,436
12-03-12 조회 1만
12-03-08 조회 6,013
12-03-06 조회 1.1만
12-03-06 조회 3,698
12-03-06 조회 6,232
12-03-02 조회 5,002
12-02-29 조회 3,569
12-02-27 조회 4,047
12-02-22 조회 3,627
12-02-20 조회 3,608
12-02-20 조회 6,708
12-02-01 조회 3,221
12-01-30 조회 8,746
12-01-29 조회 3,242
12-01-24 조회 3,447
12-01-21 조회 3,202
12-01-10 조회 3,674
11-12-26 조회 3,564
11-12-23 조회 4,990
11-12-23 조회 4,628
11-12-23 조회 4,193
11-12-23 조회 7,982
11-12-22 조회 3,696
11-12-17 조회 3,653
11-12-12 조회 3,066
11-12-08 조회 7,623
11-12-08 조회 3,482
11-12-07 조회 3,780
11-12-06 조회 5,480
11-12-02 조회 3,446
11-12-01 조회 3,112
11-11-30 조회 6,903
11-11-26 조회 3,836
11-11-24 조회 4,628
11-11-22 조회 2,995
11-11-22 조회 6,624
11-11-18 조회 5,003
11-11-16 조회 3,422
11-11-14 조회 3,444
11-11-12 조회 3,944
11-11-08 조회 3,264
11-11-06 조회 1만
11-11-06 조회 3,836
11-11-03 조회 5,525
11-11-02 조회 5,791
11-11-01 조회 9,313
11-10-19 조회 2,799
11-10-17 조회 2,603
11-10-10 조회 2,547
11-10-07 조회 3,336
11-10-06 조회 3,929
11-10-06 조회 2,485
11-10-02 조회 3,235
11-09-08 조회 4,241
11-09-08 조회 2,618
11-09-07 조회 2,611
11-09-02 조회 2,688
11-09-01 조회 3,625
11-08-28 조회 3,517
11-08-23 조회 3,361
11-08-22 조회 2,781
11-08-22 조회 2,375
11-08-13 조회 2,419
11-08-05 조회 2,875
11-08-03 조회 4,085
11-07-03 조회 2,550
11-06-15 조회 3,207
11-06-15 조회 3,041
11-05-15 조회 2,843
11-05-11 조회 5,577
11-04-12 조회 2,981
11-01-27 조회 3,814
11-01-26 조회 2,611
11-01-26 조회 4,458
11-01-18 조회 2,667
10-11-23 조회 2,822
10-10-24 조회 4,727
10-09-15 조회 4,412
10-09-07 조회 3,384
10-08-27 조회 4,074
10-08-20 조회 6,964
10-07-30 조회 5,640
10-06-30 조회 2,865
10-06-11 조회 4,624
10-06-11 조회 3,320
10-05-15 조회 4,156
10-05-10 조회 2,841
10-03-19 조회 5,406
10-03-05 조회 5,171
10-02-17 조회 5,574
09-11-21 조회 6,920
09-11-09 조회 3,995
09-11-04 조회 6,715
09-10-26 조회 3,849