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

· 14년 전 · 3214
<!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>
|
댓글을 작성하시려면 로그인이 필요합니다.

프로그램

+
제목 글쓴이 날짜 조회
14년 전 조회 2,765
14년 전 조회 3,207
14년 전 조회 2,048
14년 전 조회 2,053
14년 전 조회 1,788
14년 전 조회 3,856
14년 전 조회 1,839
14년 전 조회 1,574
14년 전 조회 2,392
14년 전 조회 2,791
14년 전 조회 1,772
14년 전 조회 2,333
14년 전 조회 2,317
14년 전 조회 2,391
14년 전 조회 2,519
14년 전 조회 2,173
14년 전 조회 9,663
14년 전 조회 2,282
14년 전 조회 2,556
14년 전 조회 1,688
14년 전 조회 1,632
14년 전 조회 1,741
14년 전 조회 2,104
14년 전 조회 3,139
14년 전 조회 1,666
14년 전 조회 2,627
14년 전 조회 2,894
14년 전 조회 1,985
14년 전 조회 1,922
14년 전 조회 1,503
14년 전 조회 2,068
14년 전 조회 1,951
14년 전 조회 1,835
14년 전 조회 1,734
14년 전 조회 1,782
14년 전 조회 2,142
14년 전 조회 2,964
14년 전 조회 2,038
14년 전 조회 1,527
14년 전 조회 1.1만
14년 전 조회 1,823
14년 전 조회 1,704
14년 전 조회 2,259
14년 전 조회 3,383
14년 전 조회 2,176
14년 전 조회 1,891
14년 전 조회 1,677
14년 전 조회 2,562
14년 전 조회 1,841
14년 전 조회 3,215
14년 전 조회 1,654
14년 전 조회 1,684
14년 전 조회 1,783
14년 전 조회 2,503
14년 전 조회 1,653
14년 전 조회 3,132
14년 전 조회 1,465
14년 전 조회 4,073
14년 전 조회 4,234
14년 전 조회 4,160
14년 전 조회 3,966
14년 전 조회 1,663
14년 전 조회 1,588
14년 전 조회 2,107
14년 전 조회 2,368
14년 전 조회 1,560
14년 전 조회 1,638
14년 전 조회 1,566
14년 전 조회 5,628
14년 전 조회 1,516
14년 전 조회 5,918
14년 전 조회 2,233
14년 전 조회 2,028
14년 전 조회 1,484
14년 전 조회 1,666
14년 전 조회 2,194
14년 전 조회 1,675
14년 전 조회 2,337
14년 전 조회 1,858
14년 전 조회 1,634
14년 전 조회 1,778
14년 전 조회 3,820
14년 전 조회 1,565
14년 전 조회 2,166
14년 전 조회 1,780
14년 전 조회 1,733
14년 전 조회 1,594
14년 전 조회 4,274
14년 전 조회 2,179
14년 전 조회 1,628
14년 전 조회 1,716
14년 전 조회 1,712
14년 전 조회 1,776
14년 전 조회 1,544
14년 전 조회 1,632
14년 전 조회 2,275
14년 전 조회 4,144
14년 전 조회 2,561
14년 전 조회 1,642
14년 전 조회 1,615