비

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

· 2012-01-10 (화) 13:53:25 · 4618
<!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>
댓글을 작성하시려면 로그인이 필요합니다.

프로그램

8,187건
+
제목 글쓴이 날짜 조회
11-12-02 조회 3,930
11-12-02 조회 3,647
11-12-02 조회 3,029
11-12-02 조회 3,627
11-12-02 조회 3,621
11-12-02 조회 3,454
11-12-02 조회 2,960
11-12-01 조회 2,877
11-12-01 조회 3,283
11-12-01 조회 2,810
11-12-01 조회 5,523
11-12-01 조회 2,853
11-12-01 조회 3,220
11-12-01 조회 2,853
11-12-01 조회 2,961
11-12-01 조회 4,145
11-12-01 조회 3,257
11-12-01 조회 3,830
11-12-01 조회 2,921
11-11-30 조회 3,542
11-11-30 조회 4,119
11-11-30 조회 3,004
11-11-30 조회 3,447
11-11-30 조회 3,242
11-11-30 조회 3,504
11-11-30 조회 4,904
11-11-30 조회 2,900
11-11-30 조회 7,059
11-11-30 조회 2,856
11-11-29 조회 3,135
11-11-29 조회 2,832
11-11-29 조회 5,800
11-11-29 조회 2,754
11-11-29 조회 2,998
11-11-29 조회 3,409
11-11-28 조회 3,490
11-11-28 조회 2,890
11-11-28 조회 3,460
11-11-28 조회 3,017
11-11-28 조회 2,803
11-11-28 조회 4,679
11-11-28 조회 3,270
11-11-28 조회 2,798
11-11-28 조회 2,763
11-11-27 조회 4,024
11-11-26 조회 3,026
11-11-26 조회 3,466
11-11-26 조회 3,777
11-11-26 조회 4,038
11-11-25 조회 4,349
11-11-25 조회 3,453
11-11-24 조회 2,944
11-11-24 조회 2,836
11-11-24 조회 3,018
11-11-24 조회 3,232
11-11-24 조회 4,766
11-11-24 조회 2,824
11-11-24 조회 3,026
11-11-24 조회 3,128
11-11-24 조회 3,640
11-11-24 조회 2,698
11-11-23 조회 2,613
11-11-23 조회 3,786
11-11-23 조회 3,707
11-11-23 조회 4,050
11-11-22 조회 3,149
11-11-22 조회 2,783
11-11-22 조회 4,042
11-11-22 조회 3,166
11-11-22 조회 3,633
11-11-22 조회 2,827
11-11-22 조회 3,132
11-11-22 조회 3,103
11-11-22 조회 2,994
11-11-22 조회 6,779
11-11-21 조회 2,858
11-11-21 조회 3,011
11-11-21 조회 3,659
11-11-21 조회 2,832
11-11-21 조회 2,513
11-11-21 조회 2,951
11-11-19 조회 4,425
11-11-19 조회 3,888
11-11-19 조회 3,495
11-11-18 조회 5,203
11-11-18 조회 4,036
11-11-18 조회 3,152
11-11-18 조회 3,028
11-11-18 조회 3,200
11-11-17 조회 3,084
11-11-17 조회 2,555
11-11-17 조회 2,922
11-11-17 조회 3,068
11-11-17 조회 4,645
11-11-16 조회 2,903
11-11-16 조회 2,615
11-11-16 조회 2,636
11-11-16 조회 5,010
11-11-16 조회 2,960
11-11-16 조회 3,641