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

· 14년 전 · 2264
<!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,727
14년 전 조회 2,178
14년 전 조회 1,025
14년 전 조회 1,022
14년 전 조회 751
14년 전 조회 2,779
14년 전 조회 796
14년 전 조회 505
14년 전 조회 1,324
14년 전 조회 1,723
14년 전 조회 699
14년 전 조회 1,252
14년 전 조회 1,273
14년 전 조회 1,332
14년 전 조회 1,426
14년 전 조회 1,082
14년 전 조회 8,620
14년 전 조회 1,209
14년 전 조회 1,487
14년 전 조회 633
14년 전 조회 592
14년 전 조회 700
14년 전 조회 1,054
14년 전 조회 2,102
14년 전 조회 618
14년 전 조회 1,645
14년 전 조회 1,845
14년 전 조회 990
14년 전 조회 921
14년 전 조회 514
14년 전 조회 1,077
14년 전 조회 991
14년 전 조회 858
14년 전 조회 754
14년 전 조회 827
14년 전 조회 1,157
14년 전 조회 1,957
14년 전 조회 1,067
14년 전 조회 530
14년 전 조회 9,882
14년 전 조회 849
14년 전 조회 715
14년 전 조회 1,297
14년 전 조회 2,414
14년 전 조회 1,217
14년 전 조회 902
14년 전 조회 687
14년 전 조회 1,590
14년 전 조회 883
14년 전 조회 2,265
14년 전 조회 685
14년 전 조회 686
14년 전 조회 819
14년 전 조회 1,448
14년 전 조회 707
14년 전 조회 2,171
14년 전 조회 536
14년 전 조회 3,093
14년 전 조회 3,256
14년 전 조회 3,164
14년 전 조회 2,982
14년 전 조회 679
14년 전 조회 628
14년 전 조회 1,124
14년 전 조회 1,387
14년 전 조회 589
14년 전 조회 672
14년 전 조회 585
14년 전 조회 4,664
14년 전 조회 551
14년 전 조회 4,941
14년 전 조회 1,270
14년 전 조회 1,066
14년 전 조회 542
14년 전 조회 715
14년 전 조회 1,229
14년 전 조회 704
14년 전 조회 1,366
14년 전 조회 877
14년 전 조회 729
14년 전 조회 801
14년 전 조회 2,906
14년 전 조회 615
14년 전 조회 1,174
14년 전 조회 817
14년 전 조회 761
14년 전 조회 672
14년 전 조회 3,305
14년 전 조회 1,225
14년 전 조회 660
14년 전 조회 732
14년 전 조회 719
14년 전 조회 814
14년 전 조회 577
14년 전 조회 654
14년 전 조회 1,312
14년 전 조회 3,177
14년 전 조회 1,582
14년 전 조회 691
14년 전 조회 631
🐛 버그신고