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

· 14년 전 · 2272
<!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,736
14년 전 조회 2,187
14년 전 조회 1,035
14년 전 조회 1,029
14년 전 조회 765
14년 전 조회 2,791
14년 전 조회 799
14년 전 조회 513
14년 전 조회 1,333
14년 전 조회 1,734
14년 전 조회 705
14년 전 조회 1,261
14년 전 조회 1,282
14년 전 조회 1,342
14년 전 조회 1,435
14년 전 조회 1,094
14년 전 조회 8,628
14년 전 조회 1,220
14년 전 조회 1,495
14년 전 조회 646
14년 전 조회 603
14년 전 조회 710
14년 전 조회 1,061
14년 전 조회 2,109
14년 전 조회 629
14년 전 조회 1,653
14년 전 조회 1,856
14년 전 조회 996
14년 전 조회 935
14년 전 조회 528
14년 전 조회 1,085
14년 전 조회 996
14년 전 조회 868
14년 전 조회 765
14년 전 조회 834
14년 전 조회 1,167
14년 전 조회 1,965
14년 전 조회 1,075
14년 전 조회 536
14년 전 조회 9,893
14년 전 조회 859
14년 전 조회 723
14년 전 조회 1,306
14년 전 조회 2,420
14년 전 조회 1,226
14년 전 조회 913
14년 전 조회 696
14년 전 조회 1,601
14년 전 조회 894
14년 전 조회 2,273
14년 전 조회 694
14년 전 조회 694
14년 전 조회 829
14년 전 조회 1,456
14년 전 조회 710
14년 전 조회 2,181
14년 전 조회 542
14년 전 조회 3,102
14년 전 조회 3,267
14년 전 조회 3,172
14년 전 조회 2,992
14년 전 조회 687
14년 전 조회 639
14년 전 조회 1,133
14년 전 조회 1,395
14년 전 조회 598
14년 전 조회 683
14년 전 조회 592
14년 전 조회 4,676
14년 전 조회 561
14년 전 조회 4,950
14년 전 조회 1,275
14년 전 조회 1,076
14년 전 조회 549
14년 전 조회 723
14년 전 조회 1,243
14년 전 조회 715
14년 전 조회 1,375
14년 전 조회 885
14년 전 조회 733
14년 전 조회 808
14년 전 조회 2,914
14년 전 조회 628
14년 전 조회 1,187
14년 전 조회 824
14년 전 조회 767
14년 전 조회 680
14년 전 조회 3,317
14년 전 조회 1,233
14년 전 조회 669
14년 전 조회 744
14년 전 조회 730
14년 전 조회 825
14년 전 조회 585
14년 전 조회 665
14년 전 조회 1,321
14년 전 조회 3,186
14년 전 조회 1,593
14년 전 조회 700
14년 전 조회 644
🐛 버그신고