비

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

· 2012-01-10 (화) 13:53:25 · 4406
<!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,834
12-04-06 조회 5,285
12-04-06 조회 3,059
12-04-04 조회 4,151
12-04-02 조회 3,483
12-03-30 조회 3,413
12-03-29 조회 5,951
12-03-28 조회 3,314
12-03-28 조회 4,218
12-03-27 조회 4,494
12-03-23 조회 3,710
12-03-21 조회 3,435
12-03-20 조회 3,233
12-03-18 조회 3,072
12-03-15 조회 3,255
12-03-12 조회 3,299
12-03-12 조회 3,250
12-03-08 조회 3,580
12-03-03 조회 3,645
12-03-03 조회 3,206
12-02-29 조회 3,470
12-02-28 조회 3,500
12-02-28 조회 3,323
12-02-28 조회 3,432
12-02-27 조회 3,849
12-02-27 조회 3,281
12-02-24 조회 3,441
12-02-24 조회 3,279
12-02-23 조회 3,646
12-02-20 조회 3,558
12-02-20 조회 4,031
12-02-17 조회 4,018
12-02-16 조회 3,149
12-02-15 조회 3,419
12-02-15 조회 3,523
12-02-14 조회 3,477
12-02-08 조회 3,437
12-02-06 조회 3,420
12-02-06 조회 3,843
12-01-25 조회 4,087
12-01-21 조회 3,988
12-01-20 조회 6,108
12-01-15 조회 3,605
12-01-15 조회 3,562
12-01-14 조회 3,459
12-01-14 조회 3,601
12-01-14 조회 3,326
12-01-12 조회 3,957
12-01-12 조회 4,212
12-01-10 조회 3,536
12-01-10 조회 4,336
12-01-09 조회 3,700
12-01-08 조회 6,964
12-01-08 조회 3,171
12-01-07 조회 3,523
12-01-06 조회 3,532
12-01-04 조회 3,677
12-01-03 조회 3,530
12-01-02 조회 3,931
12-01-02 조회 3,125
12-01-01 조회 4,056
12-01-01 조회 3,399
11-12-31 조회 3,647
11-12-31 조회 3,755
11-12-31 조회 3,584
11-12-30 조회 3,814
11-12-30 조회 4,996
11-12-30 조회 4,111
11-12-30 조회 4,262
11-12-30 조회 3,738
11-12-30 조회 3,460
11-12-30 조회 3,463
11-12-29 조회 3,187
11-12-22 조회 3,413
11-12-21 조회 3,319
11-12-20 조회 3,603
11-12-15 조회 5,404
11-12-15 조회 4,402
11-12-14 조회 5,428
11-12-12 조회 3,623
11-12-03 조회 3,380
11-11-26 조회 3,432
11-11-19 조회 3,688
11-11-01 조회 3,007
11-10-23 조회 2,676
11-10-21 조회 2,656
11-10-15 조회 3,128
11-10-15 조회 2,861
11-10-15 조회 3,530
11-10-15 조회 2,763
11-10-14 조회 2,797
11-10-13 조회 2,568
11-10-11 조회 2,814
11-10-10 조회 2,635
11-09-30 조회 3,514
11-09-30 조회 2,948
11-09-29 조회 4,776
11-09-29 조회 2,616
11-09-23 조회 2,646
11-09-16 조회 2,974