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

· 14년 전 · 2260
<!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,723
14년 전 조회 2,176
14년 전 조회 1,024
14년 전 조회 1,019
14년 전 조회 750
14년 전 조회 2,778
14년 전 조회 791
14년 전 조회 502
14년 전 조회 1,321
14년 전 조회 1,721
14년 전 조회 695
14년 전 조회 1,250
14년 전 조회 1,270
14년 전 조회 1,328
14년 전 조회 1,423
14년 전 조회 1,080
14년 전 조회 8,619
14년 전 조회 1,205
14년 전 조회 1,481
14년 전 조회 633
14년 전 조회 589
14년 전 조회 697
14년 전 조회 1,050
14년 전 조회 2,099
14년 전 조회 615
14년 전 조회 1,645
14년 전 조회 1,843
14년 전 조회 988
14년 전 조회 918
14년 전 조회 512
14년 전 조회 1,073
14년 전 조회 989
14년 전 조회 856
14년 전 조회 754
14년 전 조회 825
14년 전 조회 1,156
14년 전 조회 1,952
14년 전 조회 1,067
14년 전 조회 529
14년 전 조회 9,882
14년 전 조회 847
14년 전 조회 713
14년 전 조회 1,295
14년 전 조회 2,413
14년 전 조회 1,214
14년 전 조회 899
14년 전 조회 682
14년 전 조회 1,589
14년 전 조회 880
14년 전 조회 2,261
14년 전 조회 684
14년 전 조회 683
14년 전 조회 819
14년 전 조회 1,445
14년 전 조회 703
14년 전 조회 2,169
14년 전 조회 532
14년 전 조회 3,088
14년 전 조회 3,252
14년 전 조회 3,161
14년 전 조회 2,978
14년 전 조회 672
14년 전 조회 625
14년 전 조회 1,119
14년 전 조회 1,384
14년 전 조회 586
14년 전 조회 672
14년 전 조회 584
14년 전 조회 4,661
14년 전 조회 547
14년 전 조회 4,938
14년 전 조회 1,268
14년 전 조회 1,063
14년 전 조회 537
14년 전 조회 710
14년 전 조회 1,228
14년 전 조회 702
14년 전 조회 1,363
14년 전 조회 876
14년 전 조회 727
14년 전 조회 797
14년 전 조회 2,906
14년 전 조회 614
14년 전 조회 1,173
14년 전 조회 812
14년 전 조회 758
14년 전 조회 670
14년 전 조회 3,303
14년 전 조회 1,223
14년 전 조회 656
14년 전 조회 731
14년 전 조회 716
14년 전 조회 812
14년 전 조회 576
14년 전 조회 652
14년 전 조회 1,310
14년 전 조회 3,173
14년 전 조회 1,580
14년 전 조회 690
14년 전 조회 630
🐛 버그신고