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

· 14년 전 · 2255
<!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,717
14년 전 조회 2,172
14년 전 조회 1,018
14년 전 조회 1,017
14년 전 조회 746
14년 전 조회 2,772
14년 전 조회 783
14년 전 조회 494
14년 전 조회 1,316
14년 전 조회 1,718
14년 전 조회 686
14년 전 조회 1,244
14년 전 조회 1,262
14년 전 조회 1,320
14년 전 조회 1,414
14년 전 조회 1,071
14년 전 조회 8,617
14년 전 조회 1,201
14년 전 조회 1,477
14년 전 조회 627
14년 전 조회 580
14년 전 조회 687
14년 전 조회 1,047
14년 전 조회 2,095
14년 전 조회 607
14년 전 조회 1,643
14년 전 조회 1,834
14년 전 조회 982
14년 전 조회 913
14년 전 조회 507
14년 전 조회 1,064
14년 전 조회 984
14년 전 조회 848
14년 전 조회 748
14년 전 조회 821
14년 전 조회 1,150
14년 전 조회 1,942
14년 전 조회 1,061
14년 전 조회 522
14년 전 조회 9,877
14년 전 조회 842
14년 전 조회 703
14년 전 조회 1,285
14년 전 조회 2,407
14년 전 조회 1,207
14년 전 조회 894
14년 전 조회 675
14년 전 조회 1,583
14년 전 조회 875
14년 전 조회 2,256
14년 전 조회 676
14년 전 조회 678
14년 전 조회 815
14년 전 조회 1,440
14년 전 조회 694
14년 전 조회 2,163
14년 전 조회 530
14년 전 조회 3,083
14년 전 조회 3,249
14년 전 조회 3,155
14년 전 조회 2,975
14년 전 조회 664
14년 전 조회 618
14년 전 조회 1,113
14년 전 조회 1,378
14년 전 조회 579
14년 전 조회 668
14년 전 조회 576
14년 전 조회 4,653
14년 전 조회 543
14년 전 조회 4,932
14년 전 조회 1,265
14년 전 조회 1,057
14년 전 조회 532
14년 전 조회 705
14년 전 조회 1,226
14년 전 조회 699
14년 전 조회 1,358
14년 전 조회 870
14년 전 조회 726
14년 전 조회 790
14년 전 조회 2,905
14년 전 조회 609
14년 전 조회 1,172
14년 전 조회 807
14년 전 조회 751
14년 전 조회 668
14년 전 조회 3,301
14년 전 조회 1,213
14년 전 조회 649
14년 전 조회 722
14년 전 조회 707
14년 전 조회 804
14년 전 조회 568
14년 전 조회 645
14년 전 조회 1,303
14년 전 조회 3,167
14년 전 조회 1,574
14년 전 조회 684
14년 전 조회 622
🐛 버그신고