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

· 14년 전 · 2395
<!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,855
14년 전 조회 2,310
14년 전 조회 1,165
14년 전 조회 1,149
14년 전 조회 888
14년 전 조회 2,902
14년 전 조회 932
14년 전 조회 644
14년 전 조회 1,459
14년 전 조회 1,868
14년 전 조회 822
14년 전 조회 1,396
14년 전 조회 1,411
14년 전 조회 1,463
14년 전 조회 1,555
14년 전 조회 1,217
14년 전 조회 8,742
14년 전 조회 1,349
14년 전 조회 1,624
14년 전 조회 775
14년 전 조회 727
14년 전 조회 827
14년 전 조회 1,187
14년 전 조회 2,223
14년 전 조회 747
14년 전 조회 1,768
14년 전 조회 1,980
14년 전 조회 1,128
14년 전 조회 1,061
14년 전 조회 639
14년 전 조회 1,204
14년 전 조회 1,113
14년 전 조회 970
14년 전 조회 887
14년 전 조회 949
14년 전 조회 1,297
14년 전 조회 2,080
14년 전 조회 1,189
14년 전 조회 659
14년 전 조회 1만
14년 전 조회 982
14년 전 조회 846
14년 전 조회 1,428
14년 전 조회 2,550
14년 전 조회 1,355
14년 전 조회 1,045
14년 전 조회 817
14년 전 조회 1,733
14년 전 조회 1,020
14년 전 조회 2,396
14년 전 조회 820
14년 전 조회 829
14년 전 조회 948
14년 전 조회 1,595
14년 전 조회 819
14년 전 조회 2,311
14년 전 조회 653
14년 전 조회 3,238
14년 전 조회 3,393
14년 전 조회 3,303
14년 전 조회 3,122
14년 전 조회 808
14년 전 조회 765
14년 전 조회 1,263
14년 전 조회 1,519
14년 전 조회 723
14년 전 조회 810
14년 전 조회 717
14년 전 조회 4,797
14년 전 조회 691
14년 전 조회 5,077
14년 전 조회 1,393
14년 전 조회 1,190
14년 전 조회 670
14년 전 조회 863
14년 전 조회 1,367
14년 전 조회 843
14년 전 조회 1,487
14년 전 조회 1,013
14년 전 조회 847
14년 전 조회 939
14년 전 조회 3,015
14년 전 조회 748
14년 전 조회 1,317
14년 전 조회 953
14년 전 조회 887
14년 전 조회 798
14년 전 조회 3,449
14년 전 조회 1,356
14년 전 조회 793
14년 전 조회 861
14년 전 조회 848
14년 전 조회 949
14년 전 조회 714
14년 전 조회 785
14년 전 조회 1,443
14년 전 조회 3,306
14년 전 조회 1,712
14년 전 조회 804
14년 전 조회 769