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

· 14년 전 · 3304
<!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,830
14년 전 조회 3,273
14년 전 조회 2,116
14년 전 조회 2,110
14년 전 조회 1,861
14년 전 조회 3,928
14년 전 조회 1,893
14년 전 조회 1,626
14년 전 조회 2,461
14년 전 조회 2,873
14년 전 조회 1,836
14년 전 조회 2,422
14년 전 조회 2,411
14년 전 조회 2,482
14년 전 조회 2,597
14년 전 조회 2,249
14년 전 조회 9,729
14년 전 조회 2,360
14년 전 조회 2,615
14년 전 조회 1,763
14년 전 조회 1,706
14년 전 조회 1,815
14년 전 조회 2,166
14년 전 조회 3,224
14년 전 조회 1,745
14년 전 조회 2,708
14년 전 조회 2,976
14년 전 조회 2,059
14년 전 조회 2,017
14년 전 조회 1,588
14년 전 조회 2,141
14년 전 조회 2,017
14년 전 조회 1,921
14년 전 조회 1,814
14년 전 조회 1,856
14년 전 조회 2,211
14년 전 조회 3,026
14년 전 조회 2,113
14년 전 조회 1,595
14년 전 조회 1.1만
14년 전 조회 1,882
14년 전 조회 1,768
14년 전 조회 2,329
14년 전 조회 3,461
14년 전 조회 2,255
14년 전 조회 1,958
14년 전 조회 1,745
14년 전 조회 2,629
14년 전 조회 1,909
14년 전 조회 3,305
14년 전 조회 1,744
14년 전 조회 1,758
14년 전 조회 1,854
14년 전 조회 2,587
14년 전 조회 1,717
14년 전 조회 3,208
14년 전 조회 1,539
14년 전 조회 4,160
14년 전 조회 4,311
14년 전 조회 4,238
14년 전 조회 4,059
14년 전 조회 1,740
14년 전 조회 1,677
14년 전 조회 2,188
14년 전 조회 2,461
14년 전 조회 1,640
14년 전 조회 1,719
14년 전 조회 1,640
14년 전 조회 5,715
14년 전 조회 1,587
14년 전 조회 5,991
14년 전 조회 2,304
14년 전 조회 2,107
14년 전 조회 1,553
14년 전 조회 1,749
14년 전 조회 2,285
14년 전 조회 1,757
14년 전 조회 2,406
14년 전 조회 1,940
14년 전 조회 1,708
14년 전 조회 1,851
14년 전 조회 3,888
14년 전 조회 1,643
14년 전 조회 2,245
14년 전 조회 1,856
14년 전 조회 1,808
14년 전 조회 1,663
14년 전 조회 4,349
14년 전 조회 2,264
14년 전 조회 1,701
14년 전 조회 1,787
14년 전 조회 1,785
14년 전 조회 1,848
14년 전 조회 1,613
14년 전 조회 1,714
14년 전 조회 2,346
14년 전 조회 4,221
14년 전 조회 2,659
14년 전 조회 1,708
14년 전 조회 1,690