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

· 14년 전 · 3244
<!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,785
14년 전 조회 3,229
14년 전 조회 2,070
14년 전 조회 2,071
14년 전 조회 1,810
14년 전 조회 3,877
14년 전 조회 1,856
14년 전 조회 1,589
14년 전 조회 2,425
14년 전 조회 2,820
14년 전 조회 1,787
14년 전 조회 2,360
14년 전 조회 2,344
14년 전 조회 2,415
14년 전 조회 2,552
14년 전 조회 2,197
14년 전 조회 9,680
14년 전 조회 2,299
14년 전 조회 2,569
14년 전 조회 1,707
14년 전 조회 1,656
14년 전 조회 1,761
14년 전 조회 2,123
14년 전 조회 3,160
14년 전 조회 1,683
14년 전 조회 2,645
14년 전 조회 2,925
14년 전 조회 2,006
14년 전 조회 1,952
14년 전 조회 1,525
14년 전 조회 2,087
14년 전 조회 1,975
14년 전 조회 1,860
14년 전 조회 1,761
14년 전 조회 1,809
14년 전 조회 2,159
14년 전 조회 2,980
14년 전 조회 2,054
14년 전 조회 1,548
14년 전 조회 1.1만
14년 전 조회 1,840
14년 전 조회 1,717
14년 전 조회 2,282
14년 전 조회 3,409
14년 전 조회 2,198
14년 전 조회 1,911
14년 전 조회 1,699
14년 전 조회 2,578
14년 전 조회 1,861
14년 전 조회 3,245
14년 전 조회 1,684
14년 전 조회 1,714
14년 전 조회 1,809
14년 전 조회 2,530
14년 전 조회 1,671
14년 전 조회 3,159
14년 전 조회 1,488
14년 전 조회 4,106
14년 전 조회 4,257
14년 전 조회 4,190
14년 전 조회 3,995
14년 전 조회 1,684
14년 전 조회 1,614
14년 전 조회 2,135
14년 전 조회 2,393
14년 전 조회 1,586
14년 전 조회 1,667
14년 전 조회 1,588
14년 전 조회 5,660
14년 전 조회 1,536
14년 전 조회 5,940
14년 전 조회 2,256
14년 전 조회 2,050
14년 전 조회 1,502
14년 전 조회 1,690
14년 전 조회 2,230
14년 전 조회 1,701
14년 전 조회 2,361
14년 전 조회 1,876
14년 전 조회 1,650
14년 전 조회 1,797
14년 전 조회 3,841
14년 전 조회 1,594
14년 전 조회 2,191
14년 전 조회 1,797
14년 전 조회 1,752
14년 전 조회 1,615
14년 전 조회 4,290
14년 전 조회 2,206
14년 전 조회 1,651
14년 전 조회 1,735
14년 전 조회 1,730
14년 전 조회 1,798
14년 전 조회 1,561
14년 전 조회 1,656
14년 전 조회 2,299
14년 전 조회 4,168
14년 전 조회 2,598
14년 전 조회 1,665
14년 전 조회 1,639