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

· 14년 전 · 2332
<!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,793
14년 전 조회 2,257
14년 전 조회 1,105
14년 전 조회 1,088
14년 전 조회 820
14년 전 조회 2,841
14년 전 조회 869
14년 전 조회 578
14년 전 조회 1,392
14년 전 조회 1,792
14년 전 조회 764
14년 전 조회 1,322
14년 전 조회 1,340
14년 전 조회 1,402
14년 전 조회 1,495
14년 전 조회 1,163
14년 전 조회 8,681
14년 전 조회 1,281
14년 전 조회 1,553
14년 전 조회 715
14년 전 조회 665
14년 전 조회 769
14년 전 조회 1,126
14년 전 조회 2,164
14년 전 조회 683
14년 전 조회 1,705
14년 전 조회 1,916
14년 전 조회 1,065
14년 전 조회 989
14년 전 조회 572
14년 전 조회 1,145
14년 전 조회 1,051
14년 전 조회 921
14년 전 조회 822
14년 전 조회 888
14년 전 조회 1,225
14년 전 조회 2,015
14년 전 조회 1,134
14년 전 조회 599
14년 전 조회 9,957
14년 전 조회 911
14년 전 조회 784
14년 전 조회 1,362
14년 전 조회 2,477
14년 전 조회 1,289
14년 전 조회 972
14년 전 조회 754
14년 전 조회 1,660
14년 전 조회 946
14년 전 조회 2,333
14년 전 조회 750
14년 전 조회 760
14년 전 조회 881
14년 전 조회 1,520
14년 전 조회 758
14년 전 조회 2,245
14년 전 조회 599
14년 전 조회 3,159
14년 전 조회 3,328
14년 전 조회 3,229
14년 전 조회 3,039
14년 전 조회 742
14년 전 조회 697
14년 전 조회 1,189
14년 전 조회 1,455
14년 전 조회 652
14년 전 조회 743
14년 전 조회 648
14년 전 조회 4,735
14년 전 조회 624
14년 전 조회 5,016
14년 전 조회 1,334
14년 전 조회 1,124
14년 전 조회 588
14년 전 조회 781
14년 전 조회 1,295
14년 전 조회 767
14년 전 조회 1,438
14년 전 조회 944
14년 전 조회 779
14년 전 조회 863
14년 전 조회 2,960
14년 전 조회 685
14년 전 조회 1,240
14년 전 조회 883
14년 전 조회 821
14년 전 조회 736
14년 전 조회 3,374
14년 전 조회 1,289
14년 전 조회 720
14년 전 조회 802
14년 전 조회 780
14년 전 조회 879
14년 전 조회 647
14년 전 조회 712
14년 전 조회 1,380
14년 전 조회 3,235
14년 전 조회 1,646
14년 전 조회 750
14년 전 조회 701
🐛 버그신고