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

· 14년 전 · 2304
<!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년 전 조회 1,778
14년 전 조회 2,239
14년 전 조회 1,084
14년 전 조회 1,073
14년 전 조회 800
14년 전 조회 2,822
14년 전 조회 848
14년 전 조회 559
14년 전 조회 1,376
14년 전 조회 1,770
14년 전 조회 752
14년 전 조회 1,301
14년 전 조회 1,323
14년 전 조회 1,383
14년 전 조회 1,479
14년 전 조회 1,141
14년 전 조회 8,666
14년 전 조회 1,258
14년 전 조회 1,530
14년 전 조회 697
14년 전 조회 645
14년 전 조회 748
14년 전 조회 1,105
14년 전 조회 2,150
14년 전 조회 666
14년 전 조회 1,684
14년 전 조회 1,896
14년 전 조회 1,045
14년 전 조회 971
14년 전 조회 554
14년 전 조회 1,125
14년 전 조회 1,029
14년 전 조회 902
14년 전 조회 807
14년 전 조회 869
14년 전 조회 1,206
14년 전 조회 2,000
14년 전 조회 1,117
14년 전 조회 582
14년 전 조회 9,939
14년 전 조회 894
14년 전 조회 760
14년 전 조회 1,342
14년 전 조회 2,459
14년 전 조회 1,262
14년 전 조회 951
14년 전 조회 734
14년 전 조회 1,637
14년 전 조회 926
14년 전 조회 2,305
14년 전 조회 732
14년 전 조회 741
14년 전 조회 863
14년 전 조회 1,499
14년 전 조회 744
14년 전 조회 2,222
14년 전 조회 583
14년 전 조회 3,143
14년 전 조회 3,307
14년 전 조회 3,211
14년 전 조회 3,024
14년 전 조회 729
14년 전 조회 669
14년 전 조회 1,169
14년 전 조회 1,440
14년 전 조회 641
14년 전 조회 721
14년 전 조회 634
14년 전 조회 4,715
14년 전 조회 604
14년 전 조회 5,001
14년 전 조회 1,309
14년 전 조회 1,110
14년 전 조회 580
14년 전 조회 763
14년 전 조회 1,279
14년 전 조회 751
14년 전 조회 1,419
14년 전 조회 926
14년 전 조회 763
14년 전 조회 841
14년 전 조회 2,947
14년 전 조회 662
14년 전 조회 1,225
14년 전 조회 862
14년 전 조회 800
14년 전 조회 717
14년 전 조회 3,353
14년 전 조회 1,271
14년 전 조회 700
14년 전 조회 779
14년 전 조회 759
14년 전 조회 857
14년 전 조회 627
14년 전 조회 698
14년 전 조회 1,349
14년 전 조회 3,215
14년 전 조회 1,622
14년 전 조회 737
14년 전 조회 681
🐛 버그신고