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

· 14년 전 · 2975
<!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,453
14년 전 조회 2,947
14년 전 조회 1,753
14년 전 조회 1,741
14년 전 조회 1,529
14년 전 조회 3,562
14년 전 조회 1,551
14년 전 조회 1,274
14년 전 조회 2,087
14년 전 조회 2,494
14년 전 조회 1,457
14년 전 조회 2,042
14년 전 조회 2,052
14년 전 조회 2,095
14년 전 조회 2,227
14년 전 조회 1,892
14년 전 조회 9,376
14년 전 조회 1,998
14년 전 조회 2,304
14년 전 조회 1,424
14년 전 조회 1,343
14년 전 조회 1,458
14년 전 조회 1,841
14년 전 조회 2,847
14년 전 조회 1,380
14년 전 조회 2,359
14년 전 조회 2,613
14년 전 조회 1,730
14년 전 조회 1,661
14년 전 조회 1,215
14년 전 조회 1,791
14년 전 조회 1,690
14년 전 조회 1,566
14년 전 조회 1,482
14년 전 조회 1,526
14년 전 조회 1,880
14년 전 조회 2,663
14년 전 조회 1,790
14년 전 조회 1,255
14년 전 조회 1.1만
14년 전 조회 1,553
14년 전 조회 1,421
14년 전 조회 2,009
14년 전 조회 3,118
14년 전 조회 1,933
14년 전 조회 1,625
14년 전 조회 1,396
14년 전 조회 2,297
14년 전 조회 1,602
14년 전 조회 2,976
14년 전 조회 1,427
14년 전 조회 1,432
14년 전 조회 1,544
14년 전 조회 2,228
14년 전 조회 1,398
14년 전 조회 2,901
14년 전 조회 1,208
14년 전 조회 3,814
14년 전 조회 3,959
14년 전 조회 3,885
14년 전 조회 3,687
14년 전 조회 1,379
14년 전 조회 1,349
14년 전 조회 1,876
14년 전 조회 2,107
14년 전 조회 1,294
14년 전 조회 1,387
14년 전 조회 1,267
14년 전 조회 5,375
14년 전 조회 1,263
14년 전 조회 5,660
14년 전 조회 1,978
14년 전 조회 1,783
14년 전 조회 1,221
14년 전 조회 1,416
14년 전 조회 1,913
14년 전 조회 1,418
14년 전 조회 2,070
14년 전 조회 1,615
14년 전 조회 1,390
14년 전 조회 1,495
14년 전 조회 3,566
14년 전 조회 1,324
14년 전 조회 1,881
14년 전 조회 1,519
14년 전 조회 1,481
14년 전 조회 1,349
14년 전 조회 3,996
14년 전 조회 1,913
14년 전 조회 1,382
14년 전 조회 1,441
14년 전 조회 1,421
14년 전 조회 1,504
14년 전 조회 1,272
14년 전 조회 1,377
14년 전 조회 1,992
14년 전 조회 3,870
14년 전 조회 2,303
14년 전 조회 1,358
14년 전 조회 1,350