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

· 14년 전 · 3273
<!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년 전 조회 2,806
14년 전 조회 3,251
14년 전 조회 2,093
14년 전 조회 2,091
14년 전 조회 1,841
14년 전 조회 3,903
14년 전 조회 1,880
14년 전 조회 1,607
14년 전 조회 2,446
14년 전 조회 2,849
14년 전 조회 1,813
14년 전 조회 2,388
14년 전 조회 2,378
14년 전 조회 2,447
14년 전 조회 2,568
14년 전 조회 2,222
14년 전 조회 9,700
14년 전 조회 2,331
14년 전 조회 2,588
14년 전 조회 1,736
14년 전 조회 1,675
14년 전 조회 1,786
14년 전 조회 2,144
14년 전 조회 3,196
14년 전 조회 1,715
14년 전 조회 2,673
14년 전 조회 2,952
14년 전 조회 2,032
14년 전 조회 1,980
14년 전 조회 1,553
14년 전 조회 2,112
14년 전 조회 1,991
14년 전 조회 1,887
14년 전 조회 1,785
14년 전 조회 1,828
14년 전 조회 2,185
14년 전 조회 3,004
14년 전 조회 2,079
14년 전 조회 1,576
14년 전 조회 1.1만
14년 전 조회 1,862
14년 전 조회 1,747
14년 전 조회 2,304
14년 전 조회 3,431
14년 전 조회 2,226
14년 전 조회 1,941
14년 전 조회 1,720
14년 전 조회 2,610
14년 전 조회 1,888
14년 전 조회 3,274
14년 전 조회 1,717
14년 전 조회 1,734
14년 전 조회 1,830
14년 전 조회 2,559
14년 전 조회 1,693
14년 전 조회 3,177
14년 전 조회 1,509
14년 전 조회 4,130
14년 전 조회 4,282
14년 전 조회 4,216
14년 전 조회 4,024
14년 전 조회 1,707
14년 전 조회 1,645
14년 전 조회 2,159
14년 전 조회 2,426
14년 전 조회 1,618
14년 전 조회 1,693
14년 전 조회 1,615
14년 전 조회 5,685
14년 전 조회 1,567
14년 전 조회 5,972
14년 전 조회 2,281
14년 전 조회 2,076
14년 전 조회 1,527
14년 전 조회 1,725
14년 전 조회 2,262
14년 전 조회 1,727
14년 전 조회 2,380
14년 전 조회 1,907
14년 전 조회 1,674
14년 전 조회 1,825
14년 전 조회 3,865
14년 전 조회 1,622
14년 전 조회 2,222
14년 전 조회 1,826
14년 전 조회 1,790
14년 전 조회 1,643
14년 전 조회 4,319
14년 전 조회 2,238
14년 전 조회 1,681
14년 전 조회 1,762
14년 전 조회 1,752
14년 전 조회 1,819
14년 전 조회 1,590
14년 전 조회 1,689
14년 전 조회 2,329
14년 전 조회 4,197
14년 전 조회 2,624
14년 전 조회 1,688
14년 전 조회 1,667