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

· 14년 전 · 2761
<!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,249
14년 전 조회 2,746
14년 전 조회 1,552
14년 전 조회 1,533
14년 전 조회 1,310
14년 전 조회 3,352
14년 전 조회 1,328
14년 전 조회 1,056
14년 전 조회 1,876
14년 전 조회 2,292
14년 전 조회 1,243
14년 전 조회 1,827
14년 전 조회 1,844
14년 전 조회 1,877
14년 전 조회 1,994
14년 전 조회 1,670
14년 전 조회 9,138
14년 전 조회 1,775
14년 전 조회 2,077
14년 전 조회 1,206
14년 전 조회 1,103
14년 전 조회 1,236
14년 전 조회 1,615
14년 전 조회 2,622
14년 전 조회 1,163
14년 전 조회 2,125
14년 전 조회 2,376
14년 전 조회 1,515
14년 전 조회 1,449
14년 전 조회 1,017
14년 전 조회 1,588
14년 전 조회 1,483
14년 전 조회 1,336
14년 전 조회 1,266
14년 전 조회 1,305
14년 전 조회 1,677
14년 전 조회 2,460
14년 전 조회 1,576
14년 전 조회 1,045
14년 전 조회 1만
14년 전 조회 1,352
14년 전 조회 1,221
14년 전 조회 1,808
14년 전 조회 2,916
14년 전 조회 1,734
14년 전 조회 1,409
14년 전 조회 1,188
14년 전 조회 2,089
14년 전 조회 1,413
14년 전 조회 2,762
14년 전 조회 1,209
14년 전 조회 1,208
14년 전 조회 1,324
14년 전 조회 2,074
14년 전 조회 1,196
14년 전 조회 2,703
14년 전 조회 990
14년 전 조회 3,617
14년 전 조회 3,768
14년 전 조회 3,698
14년 전 조회 3,516
14년 전 조회 1,155
14년 전 조회 1,130
14년 전 조회 1,655
14년 전 조회 1,906
14년 전 조회 1,087
14년 전 조회 1,180
14년 전 조회 1,057
14년 전 조회 5,162
14년 전 조회 1,048
14년 전 조회 5,444
14년 전 조회 1,757
14년 전 조회 1,579
14년 전 조회 1,022
14년 전 조회 1,213
14년 전 조회 1,721
14년 전 조회 1,222
14년 전 조회 1,872
14년 전 조회 1,411
14년 전 조회 1,165
14년 전 조회 1,303
14년 전 조회 3,355
14년 전 조회 1,121
14년 전 조회 1,679
14년 전 조회 1,308
14년 전 조회 1,274
14년 전 조회 1,158
14년 전 조회 3,803
14년 전 조회 1,710
14년 전 조회 1,171
14년 전 조회 1,226
14년 전 조회 1,205
14년 전 조회 1,293
14년 전 조회 1,085
14년 전 조회 1,169
14년 전 조회 1,798
14년 전 조회 3,662
14년 전 조회 2,095
14년 전 조회 1,157
14년 전 조회 1,143