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

· 14년 전 · 2276
<!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,740
14년 전 조회 2,190
14년 전 조회 1,040
14년 전 조회 1,031
14년 전 조회 767
14년 전 조회 2,793
14년 전 조회 803
14년 전 조회 515
14년 전 조회 1,337
14년 전 조회 1,739
14년 전 조회 708
14년 전 조회 1,264
14년 전 조회 1,283
14년 전 조회 1,344
14년 전 조회 1,437
14년 전 조회 1,097
14년 전 조회 8,629
14년 전 조회 1,221
14년 전 조회 1,498
14년 전 조회 650
14년 전 조회 606
14년 전 조회 714
14년 전 조회 1,066
14년 전 조회 2,111
14년 전 조회 635
14년 전 조회 1,654
14년 전 조회 1,861
14년 전 조회 999
14년 전 조회 935
14년 전 조회 531
14년 전 조회 1,089
14년 전 조회 998
14년 전 조회 871
14년 전 조회 769
14년 전 조회 837
14년 전 조회 1,168
14년 전 조회 1,967
14년 전 조회 1,077
14년 전 조회 542
14년 전 조회 9,898
14년 전 조회 860
14년 전 조회 726
14년 전 조회 1,307
14년 전 조회 2,424
14년 전 조회 1,230
14년 전 조회 915
14년 전 조회 697
14년 전 조회 1,604
14년 전 조회 898
14년 전 조회 2,277
14년 전 조회 698
14년 전 조회 698
14년 전 조회 831
14년 전 조회 1,461
14년 전 조회 713
14년 전 조회 2,186
14년 전 조회 545
14년 전 조회 3,105
14년 전 조회 3,271
14년 전 조회 3,178
14년 전 조회 2,996
14년 전 조회 690
14년 전 조회 643
14년 전 조회 1,136
14년 전 조회 1,400
14년 전 조회 600
14년 전 조회 686
14년 전 조회 593
14년 전 조회 4,678
14년 전 조회 564
14년 전 조회 4,953
14년 전 조회 1,278
14년 전 조회 1,077
14년 전 조회 551
14년 전 조회 723
14년 전 조회 1,247
14년 전 조회 716
14년 전 조회 1,379
14년 전 조회 889
14년 전 조회 735
14년 전 조회 810
14년 전 조회 2,916
14년 전 조회 631
14년 전 조회 1,188
14년 전 조회 827
14년 전 조회 768
14년 전 조회 680
14년 전 조회 3,318
14년 전 조회 1,238
14년 전 조회 671
14년 전 조회 745
14년 전 조회 731
14년 전 조회 827
14년 전 조회 590
14년 전 조회 670
14년 전 조회 1,325
14년 전 조회 3,189
14년 전 조회 1,599
14년 전 조회 704
14년 전 조회 646
🐛 버그신고