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

· 14년 전 · 2257
<!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,719
14년 전 조회 2,175
14년 전 조회 1,020
14년 전 조회 1,017
14년 전 조회 749
14년 전 조회 2,774
14년 전 조회 785
14년 전 조회 497
14년 전 조회 1,319
14년 전 조회 1,721
14년 전 조회 689
14년 전 조회 1,247
14년 전 조회 1,265
14년 전 조회 1,322
14년 전 조회 1,418
14년 전 조회 1,073
14년 전 조회 8,618
14년 전 조회 1,205
14년 전 조회 1,480
14년 전 조회 630
14년 전 조회 583
14년 전 조회 691
14년 전 조회 1,050
14년 전 조회 2,096
14년 전 조회 612
14년 전 조회 1,644
14년 전 조회 1,837
14년 전 조회 984
14년 전 조회 915
14년 전 조회 510
14년 전 조회 1,066
14년 전 조회 986
14년 전 조회 852
14년 전 조회 750
14년 전 조회 823
14년 전 조회 1,152
14년 전 조회 1,947
14년 전 조회 1,065
14년 전 조회 524
14년 전 조회 9,879
14년 전 조회 842
14년 전 조회 707
14년 전 조회 1,289
14년 전 조회 2,408
14년 전 조회 1,211
14년 전 조회 895
14년 전 조회 679
14년 전 조회 1,586
14년 전 조회 877
14년 전 조회 2,258
14년 전 조회 677
14년 전 조회 681
14년 전 조회 817
14년 전 조회 1,442
14년 전 조회 698
14년 전 조회 2,167
14년 전 조회 531
14년 전 조회 3,085
14년 전 조회 3,251
14년 전 조회 3,156
14년 전 조회 2,977
14년 전 조회 668
14년 전 조회 622
14년 전 조회 1,116
14년 전 조회 1,382
14년 전 조회 582
14년 전 조회 670
14년 전 조회 579
14년 전 조회 4,657
14년 전 조회 545
14년 전 조회 4,934
14년 전 조회 1,266
14년 전 조회 1,060
14년 전 조회 534
14년 전 조회 706
14년 전 조회 1,227
14년 전 조회 700
14년 전 조회 1,359
14년 전 조회 873
14년 전 조회 726
14년 전 조회 792
14년 전 조회 2,905
14년 전 조회 612
14년 전 조회 1,173
14년 전 조회 809
14년 전 조회 753
14년 전 조회 669
14년 전 조회 3,303
14년 전 조회 1,215
14년 전 조회 653
14년 전 조회 726
14년 전 조회 710
14년 전 조회 808
14년 전 조회 571
14년 전 조회 648
14년 전 조회 1,306
14년 전 조회 3,168
14년 전 조회 1,577
14년 전 조회 686
14년 전 조회 625
🐛 버그신고