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

· 14년 전 · 2323
<!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>
|
댓글을 작성하시려면 로그인이 필요합니다.

프로그램

태그 필터 (최대 3개) 전체 개발자 소스 기타 mysql 팁자료실 javascript php linux flash 정규표현식 jquery node.js mobile 웹서버 os 프로그램 강좌 썸네일 이미지관련 도로명주소 그누보드5 기획자 견적서 계약서 기획서 마케팅 제안서 seo 통계 서식 통계자료 퍼블리셔 html css 반응형 웹접근성 퍼블리싱 표준화 반응형웹 홈페이지기초 부트스트랩 angularjs 포럼 스크린리더 센스리더 개발자톡 개발자팁 퍼블리셔톡 퍼블리셔팁 기획자톡 기획자팁 프로그램강좌 퍼블리싱강좌
+
제목 글쓴이 날짜 조회
14년 전 조회 1,789
14년 전 조회 2,251
14년 전 조회 1,100
14년 전 조회 1,083
14년 전 조회 812
14년 전 조회 2,837
14년 전 조회 861
14년 전 조회 571
14년 전 조회 1,389
14년 전 조회 1,787
14년 전 조회 758
14년 전 조회 1,316
14년 전 조회 1,333
14년 전 조회 1,396
14년 전 조회 1,490
14년 전 조회 1,157
14년 전 조회 8,675
14년 전 조회 1,277
14년 전 조회 1,545
14년 전 조회 708
14년 전 조회 658
14년 전 조회 762
14년 전 조회 1,120
14년 전 조회 2,160
14년 전 조회 677
14년 전 조회 1,693
14년 전 조회 1,907
14년 전 조회 1,059
14년 전 조회 979
14년 전 조회 568
14년 전 조회 1,139
14년 전 조회 1,041
14년 전 조회 916
14년 전 조회 815
14년 전 조회 880
14년 전 조회 1,219
14년 전 조회 2,011
14년 전 조회 1,127
14년 전 조회 598
14년 전 조회 9,953
14년 전 조회 904
14년 전 조회 774
14년 전 조회 1,356
14년 전 조회 2,471
14년 전 조회 1,281
14년 전 조회 968
14년 전 조회 746
14년 전 조회 1,653
14년 전 조회 937
14년 전 조회 2,324
14년 전 조회 747
14년 전 조회 755
14년 전 조회 874
14년 전 조회 1,517
14년 전 조회 754
14년 전 조회 2,237
14년 전 조회 591
14년 전 조회 3,157
14년 전 조회 3,322
14년 전 조회 3,221
14년 전 조회 3,035
14년 전 조회 739
14년 전 조회 688
14년 전 조회 1,183
14년 전 조회 1,448
14년 전 조회 647
14년 전 조회 739
14년 전 조회 644
14년 전 조회 4,732
14년 전 조회 618
14년 전 조회 5,011
14년 전 조회 1,327
14년 전 조회 1,123
14년 전 조회 587
14년 전 조회 775
14년 전 조회 1,290
14년 전 조회 762
14년 전 조회 1,433
14년 전 조회 939
14년 전 조회 775
14년 전 조회 855
14년 전 조회 2,954
14년 전 조회 675
14년 전 조회 1,235
14년 전 조회 876
14년 전 조회 811
14년 전 조회 729
14년 전 조회 3,370
14년 전 조회 1,281
14년 전 조회 711
14년 전 조회 795
14년 전 조회 768
14년 전 조회 874
14년 전 조회 642
14년 전 조회 707
14년 전 조회 1,371
14년 전 조회 3,228
14년 전 조회 1,638
14년 전 조회 748
14년 전 조회 692
🐛 버그신고