비

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

· 2012-01-10 (화) 13:53:25 · 4604
<!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-08-06 조회 2,974
11-08-06 조회 2,654
11-08-06 조회 3,362
11-08-05 조회 3,030
11-08-05 조회 2,887
11-08-05 조회 3,235
11-08-05 조회 3,168
11-08-05 조회 2,640
11-08-05 조회 2,554
11-08-05 조회 2,339
11-08-05 조회 2,545
11-08-05 조회 3,390
11-08-05 조회 4,022
11-08-04 조회 4,063
11-08-04 조회 3,594
11-08-04 조회 3,075
11-08-04 조회 3,089
11-08-04 조회 2,948
11-08-04 조회 3,206
11-08-04 조회 2,192
11-08-04 조회 3,081
11-08-04 조회 2,225
11-08-04 조회 2,729
11-08-04 조회 2,504
11-08-04 조회 3,700
11-08-03 조회 2,419
11-08-03 조회 4,217
11-08-03 조회 2,752
11-08-03 조회 2,548
11-08-03 조회 4,615
11-08-03 조회 2,257
11-08-03 조회 2,624
11-08-03 조회 2,081
11-08-02 조회 2,590
11-08-02 조회 2,166
11-08-02 조회 2,921
11-08-02 조회 2,266
11-08-02 조회 2,771
11-08-02 조회 2,320
11-08-02 조회 2,228
11-08-01 조회 2,145
11-08-01 조회 3,051
11-08-01 조회 2,360
11-08-01 조회 2,211
11-08-01 조회 2,235
11-07-30 조회 2,970
11-07-30 조회 2,941
11-07-29 조회 2,131
11-07-29 조회 4,076
11-07-28 조회 2,013
11-07-28 조회 2,242
11-07-28 조회 4,839
11-07-27 조회 2,281
11-07-27 조회 2,716
11-07-27 조회 3,010
11-07-26 조회 2,148
11-07-26 조회 2,267
11-07-26 조회 2,330
11-07-26 조회 2,678
11-07-26 조회 2,255
11-07-26 조회 2,564
11-07-26 조회 4,510
11-07-26 조회 2,907
11-07-26 조회 2,320
11-07-26 조회 3,130
11-07-25 조회 2,421
11-07-25 조회 2,006
11-07-25 조회 3,904
11-07-25 조회 2,306
11-07-25 조회 2,418
11-07-23 조회 2,652
11-07-23 조회 2,596
11-07-23 조회 2,747
11-07-22 조회 2,155
11-07-22 조회 4,086
11-07-22 조회 2,424
11-07-21 조회 3,067
11-07-21 조회 2,603
11-07-21 조회 2,707
11-07-21 조회 2,367
11-07-20 조회 2,605
11-07-20 조회 2,172
11-07-20 조회 2,231
11-07-20 조회 2,981
11-07-20 조회 2,804
11-07-20 조회 2,594
11-07-20 조회 2,646
11-07-20 조회 3,547
11-07-20 조회 3,231
11-07-19 조회 2,166
11-07-19 조회 2,994
11-07-19 조회 2,864
11-07-19 조회 2,874
11-07-18 조회 2,402
11-07-18 조회 2,391
11-07-18 조회 2,357
11-07-18 조회 2,352
11-07-18 조회 3,030
11-07-18 조회 2,397
11-07-17 조회 2,647