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

· 14년 전 · 2281
<!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,742
14년 전 조회 2,195
14년 전 조회 1,041
14년 전 조회 1,033
14년 전 조회 771
14년 전 조회 2,795
14년 전 조회 805
14년 전 조회 519
14년 전 조회 1,337
14년 전 조회 1,741
14년 전 조회 713
14년 전 조회 1,268
14년 전 조회 1,287
14년 전 조회 1,348
14년 전 조회 1,439
14년 전 조회 1,100
14년 전 조회 8,631
14년 전 조회 1,223
14년 전 조회 1,503
14년 전 조회 650
14년 전 조회 610
14년 전 조회 714
14년 전 조회 1,068
14년 전 조회 2,113
14년 전 조회 636
14년 전 조회 1,655
14년 전 조회 1,864
14년 전 조회 1,001
14년 전 조회 939
14년 전 조회 532
14년 전 조회 1,090
14년 전 조회 999
14년 전 조회 874
14년 전 조회 772
14년 전 조회 840
14년 전 조회 1,170
14년 전 조회 1,970
14년 전 조회 1,078
14년 전 조회 543
14년 전 조회 9,900
14년 전 조회 863
14년 전 조회 730
14년 전 조회 1,309
14년 전 조회 2,426
14년 전 조회 1,232
14년 전 조회 918
14년 전 조회 702
14년 전 조회 1,607
14년 전 조회 900
14년 전 조회 2,282
14년 전 조회 702
14년 전 조회 701
14년 전 조회 833
14년 전 조회 1,463
14년 전 조회 714
14년 전 조회 2,188
14년 전 조회 547
14년 전 조회 3,107
14년 전 조회 3,275
14년 전 조회 3,183
14년 전 조회 2,996
14년 전 조회 691
14년 전 조회 647
14년 전 조회 1,137
14년 전 조회 1,401
14년 전 조회 602
14년 전 조회 691
14년 전 조회 598
14년 전 조회 4,681
14년 전 조회 566
14년 전 조회 4,955
14년 전 조회 1,281
14년 전 조회 1,077
14년 전 조회 552
14년 전 조회 726
14년 전 조회 1,251
14년 전 조회 716
14년 전 조회 1,382
14년 전 조회 890
14년 전 조회 738
14년 전 조회 811
14년 전 조회 2,918
14년 전 조회 631
14년 전 조회 1,192
14년 전 조회 829
14년 전 조회 769
14년 전 조회 684
14년 전 조회 3,321
14년 전 조회 1,244
14년 전 조회 672
14년 전 조회 747
14년 전 조회 733
14년 전 조회 833
14년 전 조회 593
14년 전 조회 672
14년 전 조회 1,326
14년 전 조회 3,192
14년 전 조회 1,600
14년 전 조회 709
14년 전 조회 652
🐛 버그신고