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

· 14년 전 · 3269
<!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,804
14년 전 조회 3,250
14년 전 조회 2,088
14년 전 조회 2,089
14년 전 조회 1,836
14년 전 조회 3,900
14년 전 조회 1,877
14년 전 조회 1,605
14년 전 조회 2,444
14년 전 조회 2,843
14년 전 조회 1,807
14년 전 조회 2,382
14년 전 조회 2,373
14년 전 조회 2,441
14년 전 조회 2,566
14년 전 조회 2,219
14년 전 조회 9,697
14년 전 조회 2,327
14년 전 조회 2,586
14년 전 조회 1,732
14년 전 조회 1,671
14년 전 조회 1,780
14년 전 조회 2,140
14년 전 조회 3,191
14년 전 조회 1,714
14년 전 조회 2,671
14년 전 조회 2,947
14년 전 조회 2,028
14년 전 조회 1,977
14년 전 조회 1,550
14년 전 조회 2,110
14년 전 조회 1,990
14년 전 조회 1,882
14년 전 조회 1,781
14년 전 조회 1,825
14년 전 조회 2,183
14년 전 조회 3,001
14년 전 조회 2,073
14년 전 조회 1,572
14년 전 조회 1.1만
14년 전 조회 1,859
14년 전 조회 1,745
14년 전 조회 2,300
14년 전 조회 3,427
14년 전 조회 2,219
14년 전 조회 1,935
14년 전 조회 1,718
14년 전 조회 2,606
14년 전 조회 1,884
14년 전 조회 3,270
14년 전 조회 1,714
14년 전 조회 1,731
14년 전 조회 1,827
14년 전 조회 2,552
14년 전 조회 1,689
14년 전 조회 3,175
14년 전 조회 1,505
14년 전 조회 4,127
14년 전 조회 4,279
14년 전 조회 4,214
14년 전 조회 4,021
14년 전 조회 1,703
14년 전 조회 1,638
14년 전 조회 2,156
14년 전 조회 2,424
14년 전 조회 1,615
14년 전 조회 1,688
14년 전 조회 1,610
14년 전 조회 5,682
14년 전 조회 1,561
14년 전 조회 5,965
14년 전 조회 2,278
14년 전 조회 2,073
14년 전 조회 1,527
14년 전 조회 1,720
14년 전 조회 2,255
14년 전 조회 1,721
14년 전 조회 2,376
14년 전 조회 1,902
14년 전 조회 1,668
14년 전 조회 1,820
14년 전 조회 3,862
14년 전 조회 1,620
14년 전 조회 2,218
14년 전 조회 1,820
14년 전 조회 1,781
14년 전 조회 1,638
14년 전 조회 4,314
14년 전 조회 2,233
14년 전 조회 1,674
14년 전 조회 1,755
14년 전 조회 1,750
14년 전 조회 1,817
14년 전 조회 1,586
14년 전 조회 1,683
14년 전 조회 2,325
14년 전 조회 4,191
14년 전 조회 2,621
14년 전 조회 1,685
14년 전 조회 1,663