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

· 14년 전 · 2407
<!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,869
14년 전 조회 2,325
14년 전 조회 1,181
14년 전 조회 1,158
14년 전 조회 905
14년 전 조회 2,928
14년 전 조회 942
14년 전 조회 652
14년 전 조회 1,474
14년 전 조회 1,888
14년 전 조회 835
14년 전 조회 1,413
14년 전 조회 1,427
14년 전 조회 1,477
14년 전 조회 1,569
14년 전 조회 1,236
14년 전 조회 8,751
14년 전 조회 1,360
14년 전 조회 1,639
14년 전 조회 792
14년 전 조회 745
14년 전 조회 840
14년 전 조회 1,203
14년 전 조회 2,235
14년 전 조회 768
14년 전 조회 1,779
14년 전 조회 1,996
14년 전 조회 1,147
14년 전 조회 1,077
14년 전 조회 663
14년 전 조회 1,218
14년 전 조회 1,125
14년 전 조회 983
14년 전 조회 906
14년 전 조회 968
14년 전 조회 1,316
14년 전 조회 2,093
14년 전 조회 1,205
14년 전 조회 674
14년 전 조회 1만
14년 전 조회 994
14년 전 조회 866
14년 전 조회 1,436
14년 전 조회 2,559
14년 전 조회 1,369
14년 전 조회 1,061
14년 전 조회 830
14년 전 조회 1,748
14년 전 조회 1,034
14년 전 조회 2,408
14년 전 조회 833
14년 전 조회 847
14년 전 조회 960
14년 전 조회 1,604
14년 전 조회 832
14년 전 조회 2,326
14년 전 조회 665
14년 전 조회 3,248
14년 전 조회 3,410
14년 전 조회 3,316
14년 전 조회 3,140
14년 전 조회 826
14년 전 조회 779
14년 전 조회 1,278
14년 전 조회 1,532
14년 전 조회 737
14년 전 조회 820
14년 전 조회 728
14년 전 조회 4,807
14년 전 조회 709
14년 전 조회 5,090
14년 전 조회 1,402
14년 전 조회 1,203
14년 전 조회 688
14년 전 조회 876
14년 전 조회 1,381
14년 전 조회 857
14년 전 조회 1,506
14년 전 조회 1,033
14년 전 조회 857
14년 전 조회 953
14년 전 조회 3,026
14년 전 조회 762
14년 전 조회 1,332
14년 전 조회 968
14년 전 조회 895
14년 전 조회 812
14년 전 조회 3,467
14년 전 조회 1,371
14년 전 조회 810
14년 전 조회 872
14년 전 조회 868
14년 전 조회 962
14년 전 조회 727
14년 전 조회 804
14년 전 조회 1,455
14년 전 조회 3,323
14년 전 조회 1,723
14년 전 조회 816
14년 전 조회 789