비

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

· 2012-01-10 (화) 13:53:25 · 4617
<!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건
+
제목 글쓴이 날짜 조회
12-05-10 조회 2,997
12-05-10 조회 3,675
12-05-09 조회 4,111
12-05-09 조회 6,364
12-05-08 조회 3,346
12-05-08 조회 3,582
12-05-08 조회 3,204
12-05-08 조회 3,021
12-05-08 조회 3,041
12-05-08 조회 3,425
12-05-08 조회 4,610
12-05-07 조회 3,078
12-05-07 조회 4,285
12-05-07 조회 4,382
12-05-07 조회 4,625
12-05-07 조회 3,301
12-05-06 조회 3,583
12-05-06 조회 3,225
12-05-05 조회 3,292
12-05-05 조회 3,168
12-05-05 조회 3,064
12-05-04 조회 3,221
12-05-04 조회 3,241
12-05-04 조회 3,411
12-05-04 조회 4,132
12-05-03 조회 2,989
12-05-03 조회 3,245
12-05-03 조회 3,083
12-05-03 조회 2,853
12-05-03 조회 3,254
12-05-03 조회 5,259
12-05-03 조회 4,376
12-05-03 조회 3,908
12-05-03 조회 2,959
12-05-02 조회 3,508
12-05-02 조회 4,311
12-05-02 조회 3,425
12-05-02 조회 3,495
12-05-02 조회 3,274
12-05-02 조회 3,375
12-05-02 조회 4,565
12-05-02 조회 2,998
12-05-02 조회 3,261
12-05-01 조회 4,745
12-05-01 조회 3,368
12-04-30 조회 2,884
12-04-30 조회 3,506
12-04-30 조회 3,365
12-04-30 조회 3,343
12-04-30 조회 3,648
12-04-30 조회 4,436
12-04-30 조회 3,315
12-04-28 조회 3,811
12-04-27 조회 2,902
12-04-27 조회 2,955
12-04-27 조회 2,856
12-04-26 조회 2,824
12-04-26 조회 3,172
12-04-26 조회 3,114
12-04-26 조회 2,784
12-04-26 조회 3,083
12-04-26 조회 3,688
12-04-26 조회 2,963
12-04-26 조회 3,623
12-04-26 조회 2,682
12-04-26 조회 3,022
12-04-26 조회 2,756
12-04-26 조회 3,002
12-04-26 조회 2,766
12-04-26 조회 3,197
12-04-26 조회 3,246
12-04-26 조회 3,066
12-04-26 조회 4,930
12-04-26 조회 2,801
12-04-26 조회 3,059
12-04-26 조회 2,887
12-04-26 조회 3,538
12-04-26 조회 3,227
12-04-26 조회 3,923
12-04-26 조회 4,227
12-04-26 조회 3,481
12-04-25 조회 5,456
12-04-25 조회 3,737
12-04-25 조회 3,122
12-04-25 조회 4,520
12-04-25 조회 4,955
12-04-25 조회 2,640
12-04-25 조회 2,956
12-04-25 조회 2,786
12-04-25 조회 2,836
12-04-25 조회 2,807
12-04-25 조회 3,022
12-04-24 조회 4,146
12-04-24 조회 2,655
12-04-24 조회 2,559
12-04-24 조회 2,793
12-04-24 조회 2,729
12-04-24 조회 2,633
12-04-24 조회 3,012
12-04-24 조회 3,028