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

· 14년 전 · 2339
<!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,801
14년 전 조회 2,265
14년 전 조회 1,114
14년 전 조회 1,095
14년 전 조회 826
14년 전 조회 2,849
14년 전 조회 881
14년 전 조회 590
14년 전 조회 1,403
14년 전 조회 1,802
14년 전 조회 775
14년 전 조회 1,334
14년 전 조회 1,346
14년 전 조회 1,415
14년 전 조회 1,506
14년 전 조회 1,166
14년 전 조회 8,686
14년 전 조회 1,291
14년 전 조회 1,562
14년 전 조회 724
14년 전 조회 670
14년 전 조회 780
14년 전 조회 1,130
14년 전 조회 2,173
14년 전 조회 695
14년 전 조회 1,707
14년 전 조회 1,924
14년 전 조회 1,072
14년 전 조회 996
14년 전 조회 576
14년 전 조회 1,153
14년 전 조회 1,056
14년 전 조회 927
14년 전 조회 830
14년 전 조회 893
14년 전 조회 1,233
14년 전 조회 2,022
14년 전 조회 1,138
14년 전 조회 604
14년 전 조회 9,962
14년 전 조회 920
14년 전 조회 792
14년 전 조회 1,369
14년 전 조회 2,484
14년 전 조회 1,300
14년 전 조회 983
14년 전 조회 767
14년 전 조회 1,674
14년 전 조회 953
14년 전 조회 2,340
14년 전 조회 761
14년 전 조회 771
14년 전 조회 887
14년 전 조회 1,530
14년 전 조회 772
14년 전 조회 2,254
14년 전 조회 605
14년 전 조회 3,170
14년 전 조회 3,333
14년 전 조회 3,240
14년 전 조회 3,049
14년 전 조회 749
14년 전 조회 713
14년 전 조회 1,205
14년 전 조회 1,470
14년 전 조회 664
14년 전 조회 747
14년 전 조회 660
14년 전 조회 4,741
14년 전 조회 636
14년 전 조회 5,021
14년 전 조회 1,337
14년 전 조회 1,131
14년 전 조회 600
14년 전 조회 792
14년 전 조회 1,306
14년 전 조회 771
14년 전 조회 1,446
14년 전 조회 950
14년 전 조회 783
14년 전 조회 873
14년 전 조회 2,963
14년 전 조회 694
14년 전 조회 1,248
14년 전 조회 889
14년 전 조회 837
14년 전 조회 740
14년 전 조회 3,380
14년 전 조회 1,302
14년 전 조회 729
14년 전 조회 814
14년 전 조회 788
14년 전 조회 895
14년 전 조회 662
14년 전 조회 720
14년 전 조회 1,389
14년 전 조회 3,244
14년 전 조회 1,659
14년 전 조회 762
14년 전 조회 706
🐛 버그신고