비

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

· 2012-01-10 (화) 13:53:25 · 4579
<!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-09-19 조회 2,600
11-09-19 조회 2,523
11-09-19 조회 5,547
11-09-19 조회 6,176
11-09-16 조회 2,891
11-09-16 조회 3,161
11-09-16 조회 6,353
11-09-15 조회 3,123
11-09-15 조회 2,885
11-09-15 조회 2,554
11-09-15 조회 2,549
11-09-15 조회 2,754
11-09-15 조회 2,710
11-09-15 조회 2,827
11-09-14 조회 2,741
11-09-14 조회 3,296
11-09-14 조회 2,407
11-09-14 조회 2,334
11-09-14 조회 2,320
11-09-13 조회 2,502
11-09-10 조회 2,970
11-09-10 조회 2,589
11-09-09 조회 3,177
11-09-09 조회 3,040
11-09-09 조회 3,136
11-09-09 조회 3,171
11-09-08 조회 3,854
11-09-08 조회 5,053
11-09-08 조회 3,447
11-09-08 조회 4,373
11-09-08 조회 3,879
11-09-08 조회 3,684
11-09-08 조회 2,776
11-09-08 조회 2,349
11-09-08 조회 2,752
11-09-08 조회 2,874
11-09-07 조회 3,535
11-09-07 조회 3,596
11-09-07 조회 3,015
11-09-07 조회 2,722
11-09-07 조회 2,815
11-09-07 조회 2,839
11-09-07 조회 3,077
11-09-07 조회 2,342
11-09-07 조회 2,439
11-09-07 조회 2,603
11-09-07 조회 3,541
11-09-07 조회 2,811
11-09-06 조회 2,636
11-09-06 조회 2,924
11-09-06 조회 2,489
11-09-05 조회 2,703
11-09-05 조회 2,647
11-09-05 조회 2,931
11-09-05 조회 2,441
11-09-04 조회 2,416
11-09-04 조회 2,378
11-09-03 조회 2,552
11-09-03 조회 2,712
11-09-02 조회 3,429
11-09-02 조회 2,806
11-09-02 조회 2,675
11-09-02 조회 3,584
11-09-02 조회 2,617
11-09-02 조회 2,502
11-09-02 조회 2,503
11-09-01 조회 2,701
11-09-01 조회 2,851
11-09-01 조회 2,725
11-09-01 조회 2,735
11-09-01 조회 2,880
11-09-01 조회 2,739
11-09-01 조회 4,180
11-09-01 조회 3,779
11-09-01 조회 4,447
11-08-31 조회 2,332
11-08-31 조회 2,632
11-08-31 조회 2,919
11-08-31 조회 2,638
11-08-31 조회 2,497
11-08-31 조회 3,303
11-08-30 조회 3,040
11-08-30 조회 4,270
11-08-29 조회 3,034
11-08-29 조회 2,612
11-08-29 조회 5,251
11-08-29 조회 3,377
11-08-29 조회 2,770
11-08-29 조회 3,120
11-08-28 조회 2,518
11-08-28 조회 3,665
11-08-28 조회 2,627
11-08-28 조회 2,990
11-08-26 조회 2,523
11-08-26 조회 3,030
11-08-26 조회 3,265
11-08-26 조회 2,763
11-08-25 조회 2,599
11-08-25 조회 2,911
11-08-25 조회 2,633