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

· 14년 전 · 2764
<!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,253
14년 전 조회 2,747
14년 전 조회 1,555
14년 전 조회 1,536
14년 전 조회 1,313
14년 전 조회 3,356
14년 전 조회 1,335
14년 전 조회 1,060
14년 전 조회 1,879
14년 전 조회 2,294
14년 전 조회 1,247
14년 전 조회 1,834
14년 전 조회 1,847
14년 전 조회 1,882
14년 전 조회 2,000
14년 전 조회 1,677
14년 전 조회 9,142
14년 전 조회 1,780
14년 전 조회 2,080
14년 전 조회 1,211
14년 전 조회 1,107
14년 전 조회 1,242
14년 전 조회 1,621
14년 전 조회 2,625
14년 전 조회 1,169
14년 전 조회 2,126
14년 전 조회 2,384
14년 전 조회 1,519
14년 전 조회 1,455
14년 전 조회 1,022
14년 전 조회 1,592
14년 전 조회 1,485
14년 전 조회 1,338
14년 전 조회 1,271
14년 전 조회 1,307
14년 전 조회 1,682
14년 전 조회 2,464
14년 전 조회 1,578
14년 전 조회 1,049
14년 전 조회 1만
14년 전 조회 1,358
14년 전 조회 1,230
14년 전 조회 1,811
14년 전 조회 2,922
14년 전 조회 1,738
14년 전 조회 1,411
14년 전 조회 1,191
14년 전 조회 2,093
14년 전 조회 1,418
14년 전 조회 2,765
14년 전 조회 1,211
14년 전 조회 1,212
14년 전 조회 1,329
14년 전 조회 2,079
14년 전 조회 1,199
14년 전 조회 2,705
14년 전 조회 993
14년 전 조회 3,621
14년 전 조회 3,775
14년 전 조회 3,703
14년 전 조회 3,520
14년 전 조회 1,161
14년 전 조회 1,131
14년 전 조회 1,657
14년 전 조회 1,909
14년 전 조회 1,093
14년 전 조회 1,183
14년 전 조회 1,058
14년 전 조회 5,167
14년 전 조회 1,050
14년 전 조회 5,446
14년 전 조회 1,760
14년 전 조회 1,582
14년 전 조회 1,024
14년 전 조회 1,217
14년 전 조회 1,728
14년 전 조회 1,226
14년 전 조회 1,875
14년 전 조회 1,415
14년 전 조회 1,169
14년 전 조회 1,307
14년 전 조회 3,357
14년 전 조회 1,125
14년 전 조회 1,682
14년 전 조회 1,312
14년 전 조회 1,277
14년 전 조회 1,160
14년 전 조회 3,807
14년 전 조회 1,712
14년 전 조회 1,174
14년 전 조회 1,231
14년 전 조회 1,208
14년 전 조회 1,296
14년 전 조회 1,089
14년 전 조회 1,172
14년 전 조회 1,802
14년 전 조회 3,664
14년 전 조회 2,100
14년 전 조회 1,159
14년 전 조회 1,145