비

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

· 2012-01-10 (화) 13:53:25 · 4485
<!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,188건
+
제목 글쓴이 날짜 조회
12-04-26 조회 3,824
12-04-24 조회 3,221
12-04-23 조회 4,552
12-04-22 조회 3,245
12-04-19 조회 3,326
12-04-18 조회 4,383
12-04-18 조회 3,095
12-04-17 조회 3,366
12-04-17 조회 5,124
12-04-16 조회 3,538
12-04-13 조회 3,085
12-04-09 조회 3,155
12-04-04 조회 3,924
12-04-01 조회 3,206
12-03-31 조회 3,596
12-03-30 조회 3,200
12-03-30 조회 3,867
12-03-26 조회 3,476
12-03-26 조회 3,055
12-03-22 조회 3,210
12-03-21 조회 3,066
12-03-19 조회 3,472
12-03-17 조회 3,500
12-03-14 조회 3,234
12-03-10 조회 3,914
12-03-09 조회 3,493
12-03-09 조회 3,322
12-03-08 조회 3,791
12-03-08 조회 3,967
12-03-08 조회 4,057
12-03-03 조회 3,299
12-03-02 조회 4,633
12-02-28 조회 3,168
12-02-27 조회 2,979
12-02-25 조회 3,128
12-02-24 조회 3,836
12-02-23 조회 3,100
12-02-22 조회 3,621
12-02-22 조회 5,395
12-02-22 조회 3,967
12-02-22 조회 4,285
12-02-18 조회 3,774
12-02-17 조회 2,996
12-02-17 조회 3,406
12-02-14 조회 3,477
12-02-13 조회 3,361
12-02-10 조회 1만
12-02-08 조회 3,021
12-02-07 조회 3,359
12-02-06 조회 3,086
12-02-05 조회 3,548
12-01-31 조회 3,473
12-01-30 조회 9,655
12-01-29 조회 3,814
12-01-26 조회 3,416
12-01-25 조회 4,028
12-01-24 조회 3,421
12-01-10 조회 3,733
12-01-10 조회 4,486
12-01-09 조회 3,269
12-01-08 조회 7,129
12-01-08 조회 3,653
12-01-07 조회 5,178
12-01-04 조회 3,887
12-01-02 조회 3,112
12-01-02 조회 3,163
12-01-02 조회 3,468
12-01-01 조회 3,104
11-12-31 조회 3,411
11-12-31 조회 3,087
11-12-30 조회 3,253
11-12-30 조회 3,404
11-12-29 조회 3,618
11-12-28 조회 3,713
11-12-26 조회 3,278
11-12-23 조회 3,502
11-12-22 조회 3,046
11-12-15 조회 4,136
11-12-08 조회 3,953
11-12-05 조회 3,290
11-12-04 조회 5,708
11-12-03 조회 3,569
11-12-02 조회 3,350
11-12-01 조회 5,426
11-11-30 조회 2,913
11-11-30 조회 2,806
11-11-28 조회 3,154
11-11-26 조회 3,333
11-11-25 조회 3,352
11-11-24 조회 2,949
11-11-22 조회 3,039
11-11-22 조회 2,883
11-11-17 조회 2,818
11-11-11 조회 2,817
11-11-09 조회 2,873
11-11-08 조회 3,248
11-11-08 조회 2,543
11-11-04 조회 3,625
11-11-01 조회 2,930
11-10-26 조회 2,518