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

· 14년 전 · 3142
<!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,659
14년 전 조회 3,114
14년 전 조회 1,942
14년 전 조회 1,939
14년 전 조회 1,689
14년 전 조회 3,749
14년 전 조회 1,750
14년 전 조회 1,478
14년 전 조회 2,309
14년 전 조회 2,692
14년 전 조회 1,675
14년 전 조회 2,215
14년 전 조회 2,224
14년 전 조회 2,292
14년 전 조회 2,419
14년 전 조회 2,081
14년 전 조회 9,556
14년 전 조회 2,193
14년 전 조회 2,460
14년 전 조회 1,593
14년 전 조회 1,543
14년 전 조회 1,653
14년 전 조회 2,021
14년 전 조회 3,044
14년 전 조회 1,588
14년 전 조회 2,530
14년 전 조회 2,799
14년 전 조회 1,912
14년 전 조회 1,827
14년 전 조회 1,405
14년 전 조회 1,982
14년 전 조회 1,876
14년 전 조회 1,754
14년 전 조회 1,642
14년 전 조회 1,698
14년 전 조회 2,053
14년 전 조회 2,876
14년 전 조회 1,962
14년 전 조회 1,440
14년 전 조회 1.1만
14년 전 조회 1,734
14년 전 조회 1,627
14년 전 조회 2,167
14년 전 조회 3,303
14년 전 조회 2,079
14년 전 조회 1,802
14년 전 조회 1,598
14년 전 조회 2,471
14년 전 조회 1,763
14년 전 조회 3,143
14년 전 조회 1,590
14년 전 조회 1,610
14년 전 조회 1,711
14년 전 조회 2,427
14년 전 조회 1,583
14년 전 조회 3,051
14년 전 조회 1,387
14년 전 조회 3,997
14년 전 조회 4,145
14년 전 조회 4,073
14년 전 조회 3,877
14년 전 조회 1,579
14년 전 조회 1,523
14년 전 조회 2,035
14년 전 조회 2,296
14년 전 조회 1,486
14년 전 조회 1,549
14년 전 조회 1,471
14년 전 조회 5,542
14년 전 조회 1,447
14년 전 조회 5,834
14년 전 조회 2,143
14년 전 조회 1,939
14년 전 조회 1,402
14년 전 조회 1,586
14년 전 조회 2,110
14년 전 조회 1,591
14년 전 조회 2,253
14년 전 조회 1,779
14년 전 조회 1,562
14년 전 조회 1,696
14년 전 조회 3,737
14년 전 조회 1,471
14년 전 조회 2,064
14년 전 조회 1,688
14년 전 조회 1,638
14년 전 조회 1,525
14년 전 조회 4,191
14년 전 조회 2,081
14년 전 조회 1,533
14년 전 조회 1,631
14년 전 조회 1,614
14년 전 조회 1,686
14년 전 조회 1,447
14년 전 조회 1,539
14년 전 조회 2,169
14년 전 조회 4,058
14년 전 조회 2,471
14년 전 조회 1,554
14년 전 조회 1,529