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

· 14년 전 · 2366
<!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년 전 조회 1,826
14년 전 조회 2,284
14년 전 조회 1,140
14년 전 조회 1,119
14년 전 조회 858
14년 전 조회 2,870
14년 전 조회 904
14년 전 조회 611
14년 전 조회 1,424
14년 전 조회 1,826
14년 전 조회 799
14년 전 조회 1,361
14년 전 조회 1,373
14년 전 조회 1,437
14년 전 조회 1,528
14년 전 조회 1,189
14년 전 조회 8,709
14년 전 조회 1,310
14년 전 조회 1,585
14년 전 조회 745
14년 전 조회 698
14년 전 조회 806
14년 전 조회 1,155
14년 전 조회 2,192
14년 전 조회 723
14년 전 조회 1,738
14년 전 조회 1,951
14년 전 조회 1,089
14년 전 조회 1,020
14년 전 조회 602
14년 전 조회 1,173
14년 전 조회 1,084
14년 전 조회 952
14년 전 조회 853
14년 전 조회 916
14년 전 조회 1,264
14년 전 조회 2,049
14년 전 조회 1,159
14년 전 조회 626
14년 전 조회 9,994
14년 전 조회 944
14년 전 조회 810
14년 전 조회 1,392
14년 전 조회 2,517
14년 전 조회 1,322
14년 전 조회 1,010
14년 전 조회 791
14년 전 조회 1,697
14년 전 조회 986
14년 전 조회 2,367
14년 전 조회 785
14년 전 조회 794
14년 전 조회 909
14년 전 조회 1,553
14년 전 조회 787
14년 전 조회 2,277
14년 전 조회 624
14년 전 조회 3,193
14년 전 조회 3,355
14년 전 조회 3,268
14년 전 조회 3,080
14년 전 조회 778
14년 전 조회 732
14년 전 조회 1,229
14년 전 조회 1,491
14년 전 조회 692
14년 전 조회 775
14년 전 조회 697
14년 전 조회 4,765
14년 전 조회 660
14년 전 조회 5,044
14년 전 조회 1,359
14년 전 조회 1,154
14년 전 조회 630
14년 전 조회 815
14년 전 조회 1,333
14년 전 조회 800
14년 전 조회 1,463
14년 전 조회 975
14년 전 조회 807
14년 전 조회 906
14년 전 조회 2,982
14년 전 조회 714
14년 전 조회 1,275
14년 전 조회 917
14년 전 조회 860
14년 전 조회 758
14년 전 조회 3,407
14년 전 조회 1,330
14년 전 조회 752
14년 전 조회 837
14년 전 조회 813
14년 전 조회 921
14년 전 조회 684
14년 전 조회 752
14년 전 조회 1,413
14년 전 조회 3,272
14년 전 조회 1,686
14년 전 조회 788
14년 전 조회 732