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

· 14년 전 · 2285
<!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,749
14년 전 조회 2,199
14년 전 조회 1,046
14년 전 조회 1,036
14년 전 조회 775
14년 전 조회 2,798
14년 전 조회 816
14년 전 조회 529
14년 전 조회 1,343
14년 전 조회 1,745
14년 전 조회 717
14년 전 조회 1,273
14년 전 조회 1,293
14년 전 조회 1,353
14년 전 조회 1,440
14년 전 조회 1,107
14년 전 조회 8,636
14년 전 조회 1,228
14년 전 조회 1,506
14년 전 조회 659
14년 전 조회 618
14년 전 조회 719
14년 전 조회 1,070
14년 전 조회 2,121
14년 전 조회 641
14년 전 조회 1,658
14년 전 조회 1,866
14년 전 조회 1,006
14년 전 조회 941
14년 전 조회 537
14년 전 조회 1,096
14년 전 조회 1,001
14년 전 조회 876
14년 전 조회 777
14년 전 조회 844
14년 전 조회 1,174
14년 전 조회 1,972
14년 전 조회 1,080
14년 전 조회 548
14년 전 조회 9,904
14년 전 조회 868
14년 전 조회 732
14년 전 조회 1,314
14년 전 조회 2,430
14년 전 조회 1,234
14년 전 조회 919
14년 전 조회 707
14년 전 조회 1,612
14년 전 조회 908
14년 전 조회 2,286
14년 전 조회 706
14년 전 조회 707
14년 전 조회 837
14년 전 조회 1,466
14년 전 조회 717
14년 전 조회 2,194
14년 전 조회 552
14년 전 조회 3,111
14년 전 조회 3,281
14년 전 조회 3,188
14년 전 조회 3,005
14년 전 조회 694
14년 전 조회 650
14년 전 조회 1,141
14년 전 조회 1,403
14년 전 조회 608
14년 전 조회 698
14년 전 조회 600
14년 전 조회 4,689
14년 전 조회 572
14년 전 조회 4,963
14년 전 조회 1,286
14년 전 조회 1,085
14년 전 조회 555
14년 전 조회 733
14년 전 조회 1,257
14년 전 조회 722
14년 전 조회 1,388
14년 전 조회 893
14년 전 조회 743
14년 전 조회 812
14년 전 조회 2,922
14년 전 조회 635
14년 전 조회 1,198
14년 전 조회 833
14년 전 조회 774
14년 전 조회 686
14년 전 조회 3,327
14년 전 조회 1,246
14년 전 조회 678
14년 전 조회 752
14년 전 조회 737
14년 전 조회 837
14년 전 조회 598
14년 전 조회 679
14년 전 조회 1,330
14년 전 조회 3,192
14년 전 조회 1,604
14년 전 조회 712
14년 전 조회 655
🐛 버그신고