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

· 14년 전 · 2287
<!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,757
14년 전 조회 2,212
14년 전 조회 1,061
14년 전 조회 1,047
14년 전 조회 782
14년 전 조회 2,804
14년 전 조회 827
14년 전 조회 539
14년 전 조회 1,355
14년 전 조회 1,755
14년 전 조회 735
14년 전 조회 1,283
14년 전 조회 1,299
14년 전 조회 1,360
14년 전 조회 1,452
14년 전 조회 1,121
14년 전 조회 8,644
14년 전 조회 1,243
14년 전 조회 1,514
14년 전 조회 666
14년 전 조회 624
14년 전 조회 729
14년 전 조회 1,080
14년 전 조회 2,127
14년 전 조회 647
14년 전 조회 1,665
14년 전 조회 1,880
14년 전 조회 1,019
14년 전 조회 951
14년 전 조회 543
14년 전 조회 1,105
14년 전 조회 1,012
14년 전 조회 882
14년 전 조회 785
14년 전 조회 852
14년 전 조회 1,185
14년 전 조회 1,985
14년 전 조회 1,092
14년 전 조회 556
14년 전 조회 9,913
14년 전 조회 875
14년 전 조회 741
14년 전 조회 1,319
14년 전 조회 2,439
14년 전 조회 1,245
14년 전 조회 934
14년 전 조회 716
14년 전 조회 1,622
14년 전 조회 911
14년 전 조회 2,288
14년 전 조회 715
14년 전 조회 714
14년 전 조회 846
14년 전 조회 1,474
14년 전 조회 728
14년 전 조회 2,198
14년 전 조회 560
14년 전 조회 3,117
14년 전 조회 3,289
14년 전 조회 3,196
14년 전 조회 3,008
14년 전 조회 706
14년 전 조회 655
14년 전 조회 1,151
14년 전 조회 1,415
14년 전 조회 618
14년 전 조회 705
14년 전 조회 607
14년 전 조회 4,695
14년 전 조회 583
14년 전 조회 4,975
14년 전 조회 1,291
14년 전 조회 1,094
14년 전 조회 558
14년 전 조회 744
14년 전 조회 1,262
14년 전 조회 730
14년 전 조회 1,393
14년 전 조회 906
14년 전 조회 746
14년 전 조회 823
14년 전 조회 2,929
14년 전 조회 641
14년 전 조회 1,206
14년 전 조회 843
14년 전 조회 783
14년 전 조회 698
14년 전 조회 3,337
14년 전 조회 1,259
14년 전 조회 684
14년 전 조회 755
14년 전 조회 743
14년 전 조회 844
14년 전 조회 609
14년 전 조회 683
14년 전 조회 1,335
14년 전 조회 3,201
14년 전 조회 1,614
14년 전 조회 720
14년 전 조회 665
🐛 버그신고