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

· 14년 전 · 2884
<!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,364
14년 전 조회 2,857
14년 전 조회 1,661
14년 전 조회 1,650
14년 전 조회 1,426
14년 전 조회 3,460
14년 전 조회 1,441
14년 전 조회 1,175
14년 전 조회 1,990
14년 전 조회 2,396
14년 전 조회 1,351
14년 전 조회 1,948
14년 전 조회 1,948
14년 전 조회 2,010
14년 전 조회 2,108
14년 전 조회 1,778
14년 전 조회 9,268
14년 전 조회 1,896
14년 전 조회 2,202
14년 전 조회 1,326
14년 전 조회 1,236
14년 전 조회 1,343
14년 전 조회 1,732
14년 전 조회 2,753
14년 전 조회 1,292
14년 전 조회 2,253
14년 전 조회 2,502
14년 전 조회 1,639
14년 전 조회 1,564
14년 전 조회 1,133
14년 전 조회 1,696
14년 전 조회 1,603
14년 전 조회 1,454
14년 전 조회 1,378
14년 전 조회 1,432
14년 전 조회 1,795
14년 전 조회 2,561
14년 전 조회 1,696
14년 전 조회 1,153
14년 전 조회 1만
14년 전 조회 1,462
14년 전 조회 1,334
14년 전 조회 1,916
14년 전 조회 3,031
14년 전 조회 1,844
14년 전 조회 1,523
14년 전 조회 1,302
14년 전 조회 2,197
14년 전 조회 1,515
14년 전 조회 2,885
14년 전 조회 1,317
14년 전 조회 1,306
14년 전 조회 1,438
14년 전 조회 2,160
14년 전 조회 1,304
14년 전 조회 2,800
14년 전 조회 1,110
14년 전 조회 3,716
14년 전 조회 3,867
14년 전 조회 3,794
14년 전 조회 3,609
14년 전 조회 1,266
14년 전 조회 1,251
14년 전 조회 1,766
14년 전 조회 2,017
14년 전 조회 1,190
14년 전 조회 1,291
14년 전 조회 1,168
14년 전 조회 5,272
14년 전 조회 1,167
14년 전 조회 5,558
14년 전 조회 1,881
14년 전 조회 1,688
14년 전 조회 1,127
14년 전 조회 1,317
14년 전 조회 1,822
14년 전 조회 1,323
14년 전 조회 1,984
14년 전 조회 1,516
14년 전 조회 1,280
14년 전 조회 1,409
14년 전 조회 3,475
14년 전 조회 1,233
14년 전 조회 1,786
14년 전 조회 1,429
14년 전 조회 1,382
14년 전 조회 1,265
14년 전 조회 3,907
14년 전 조회 1,827
14년 전 조회 1,271
14년 전 조회 1,340
14년 전 조회 1,328
14년 전 조회 1,403
14년 전 조회 1,197
14년 전 조회 1,282
14년 전 조회 1,915
14년 전 조회 3,773
14년 전 조회 2,218
14년 전 조회 1,260
14년 전 조회 1,244