비

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

· 2012-01-10 (화) 13:53:25 · 4505
<!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-08-29 조회 4,161
12-08-07 조회 3,819
12-08-03 조회 3,639
12-07-31 조회 3,742
12-07-30 조회 3,697
12-07-16 조회 3,894
12-07-15 조회 3,729
12-07-07 조회 3,585
12-07-06 조회 3,798
12-07-03 조회 3,749
12-06-29 조회 3,362
12-06-22 조회 3,737
12-06-17 조회 3,993
12-05-21 조회 3,912
12-05-02 조회 3,441
12-05-02 조회 4,238
12-05-02 조회 3,361
12-04-30 조회 3,553
12-04-30 조회 3,237
12-03-17 조회 4,099
12-03-10 조회 3,435
12-03-08 조회 3,956
12-03-03 조회 3,674
12-02-27 조회 5,084
12-02-17 조회 4,384
12-02-16 조회 4,663
12-02-03 조회 3,332
12-01-31 조회 3,238
12-01-24 조회 3,236
12-01-17 조회 3,939
12-01-05 조회 3,486
11-12-30 조회 3,220
11-12-23 조회 4,772
11-12-08 조회 3,535
11-12-07 조회 4,500
11-11-27 조회 3,921
11-11-25 조회 4,252
11-11-23 조회 3,702
11-11-22 조회 3,558
11-11-09 조회 3,263
11-10-23 조회 3,204
11-10-19 조회 3,155
11-10-08 조회 2,840
11-10-04 조회 2,840
11-10-04 조회 5,293
11-09-01 조회 4,372
11-08-13 조회 2,555
11-08-06 조회 3,237
11-07-11 조회 3,626
11-06-27 조회 2,992
11-06-21 조회 2,656
11-06-13 조회 2,460
11-06-07 조회 2,475
11-05-26 조회 2,433
11-04-20 조회 2,756
11-03-21 조회 2,859
11-03-18 조회 2,546
11-03-11 조회 2,565
11-02-07 조회 2,399
11-01-18 조회 2,720
11-01-12 조회 2,442
11-01-06 조회 2,531
10-12-10 조회 2,791
10-12-09 조회 2,647
10-12-08 조회 5,073
10-11-29 조회 2,910
10-11-28 조회 2,815
10-11-28 조회 2,653
10-11-19 조회 2,843
10-11-04 조회 2,716
10-10-21 조회 2,442
10-10-19 조회 3,399
10-10-12 조회 2,724
10-10-07 조회 2,552
10-09-30 조회 3,515
10-09-17 조회 3,925
10-09-17 조회 3,872
10-05-31 조회 3,580
09-12-31 조회 3,714
09-07-23 조회 5,039
08-09-16 조회 3,242
08-09-06 조회 2,984
08-09-04 조회 3,406
08-08-16 조회 4,438
08-08-15 조회 3,307
08-08-14 조회 4,518
08-08-12 조회 3,992
08-07-23 조회 2,807
08-07-10 조회 3,757
08-07-04 조회 2,985
08-06-27 조회 7,623
08-06-19 조회 4,930
08-05-27 조회 5,538
08-05-25 조회 5,374
08-05-23 조회 3,449
08-05-23 조회 4,618
08-05-21 조회 4,966
08-05-20 조회 4,083
08-05-20 조회 3,309
08-04-18 조회 4,365