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

· 14년 전 · 3149
<!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,672
14년 전 조회 3,123
14년 전 조회 1,957
14년 전 조회 1,951
14년 전 조회 1,698
14년 전 조회 3,758
14년 전 조회 1,761
14년 전 조회 1,482
14년 전 조회 2,318
14년 전 조회 2,702
14년 전 조회 1,688
14년 전 조회 2,230
14년 전 조회 2,231
14년 전 조회 2,301
14년 전 조회 2,429
14년 전 조회 2,092
14년 전 조회 9,569
14년 전 조회 2,198
14년 전 조회 2,468
14년 전 조회 1,600
14년 전 조회 1,553
14년 전 조회 1,668
14년 전 조회 2,029
14년 전 조회 3,055
14년 전 조회 1,595
14년 전 조회 2,539
14년 전 조회 2,812
14년 전 조회 1,916
14년 전 조회 1,837
14년 전 조회 1,413
14년 전 조회 1,989
14년 전 조회 1,885
14년 전 조회 1,758
14년 전 조회 1,651
14년 전 조회 1,707
14년 전 조회 2,061
14년 전 조회 2,883
14년 전 조회 1,967
14년 전 조회 1,448
14년 전 조회 1.1만
14년 전 조회 1,740
14년 전 조회 1,632
14년 전 조회 2,177
14년 전 조회 3,307
14년 전 조회 2,096
14년 전 조회 1,807
14년 전 조회 1,607
14년 전 조회 2,479
14년 전 조회 1,766
14년 전 조회 3,150
14년 전 조회 1,593
14년 전 조회 1,614
14년 전 조회 1,716
14년 전 조회 2,435
14년 전 조회 1,590
14년 전 조회 3,057
14년 전 조회 1,396
14년 전 조회 4,004
14년 전 조회 4,154
14년 전 조회 4,079
14년 전 조회 3,887
14년 전 조회 1,585
14년 전 조회 1,528
14년 전 조회 2,039
14년 전 조회 2,305
14년 전 조회 1,494
14년 전 조회 1,561
14년 전 조회 1,483
14년 전 조회 5,554
14년 전 조회 1,453
14년 전 조회 5,843
14년 전 조회 2,155
14년 전 조회 1,947
14년 전 조회 1,408
14년 전 조회 1,594
14년 전 조회 2,116
14년 전 조회 1,597
14년 전 조회 2,263
14년 전 조회 1,784
14년 전 조회 1,567
14년 전 조회 1,705
14년 전 조회 3,747
14년 전 조회 1,482
14년 전 조회 2,080
14년 전 조회 1,701
14년 전 조회 1,648
14년 전 조회 1,533
14년 전 조회 4,201
14년 전 조회 2,096
14년 전 조회 1,536
14년 전 조회 1,642
14년 전 조회 1,622
14년 전 조회 1,694
14년 전 조회 1,461
14년 전 조회 1,552
14년 전 조회 2,182
14년 전 조회 4,066
14년 전 조회 2,484
14년 전 조회 1,563
14년 전 조회 1,534