비

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

· 2012-01-10 (화) 13:53:25 · 4525
<!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건
+
제목 글쓴이 날짜 조회
11-10-25 조회 2,509
11-10-18 조회 4,049
11-10-18 조회 2,432
11-10-15 조회 3,649
11-10-10 조회 2,708
11-10-02 조회 2,609
11-09-28 조회 2,429
11-09-24 조회 2,519
11-09-22 조회 2,413
11-09-05 조회 2,900
11-08-31 조회 2,283
11-08-31 조회 2,595
11-08-31 조회 2,447
11-08-29 조회 2,984
11-08-28 조회 2,484
11-08-25 조회 2,536
11-08-17 조회 2,252
11-08-16 조회 2,486
11-08-11 조회 2,950
11-08-07 조회 2,654
11-08-03 조회 2,360
11-07-22 조회 2,107
11-07-12 조회 3,326
11-06-27 조회 2,104
11-06-01 조회 1,768
11-05-17 조회 2,564
11-05-01 조회 2,624
11-04-28 조회 2,913
11-04-28 조회 2,972
11-04-13 조회 2,625
11-03-27 조회 2,752
11-03-27 조회 2,623
11-03-14 조회 2,040
11-03-02 조회 2,360
11-03-02 조회 2,594
11-02-27 조회 3,019
11-02-23 조회 2,398
11-02-19 조회 2,541
11-02-14 조회 4,157
11-02-03 조회 2,944
11-01-24 조회 3,893
11-01-04 조회 2,427
10-12-08 조회 5,433
10-11-15 조회 2,445
10-11-14 조회 2,631
10-11-14 조회 3,652
10-10-29 조회 3,713
10-10-19 조회 2,725
10-10-07 조회 2,556
10-10-05 조회 4,467
10-09-18 조회 2,764
10-09-18 조회 2,505
10-09-17 조회 4,914
10-09-15 조회 2,850
10-09-15 조회 2,385
10-09-15 조회 2,867
10-09-15 조회 2,703
10-09-11 조회 4,034
10-09-11 조회 2,528
10-09-11 조회 2,578
10-09-07 조회 3,847
10-09-07 조회 3,390
10-08-29 조회 2,853
10-07-01 조회 3,097
10-06-30 조회 2,502
10-06-30 조회 2,680
10-06-30 조회 3,031
10-06-13 조회 2,068
10-04-15 조회 3,241
10-04-04 조회 3,473
10-02-23 조회 3,583
10-02-09 조회 3,170
10-01-25 조회 2,680
10-01-25 조회 2,786
09-12-27 조회 4,418
09-11-23 조회 3,641
09-11-20 조회 4,885
09-08-30 조회 3,075
09-08-30 조회 3,070
09-08-12 조회 3,041
09-07-22 조회 4,097
09-07-22 조회 4,755
09-07-15 조회 5,912
09-07-11 조회 2,995
09-06-17 조회 2,726
09-06-15 조회 3,018
09-05-29 조회 3,302
09-05-11 조회 5,939
09-05-08 조회 2,697
09-04-30 조회 3,808
09-04-17 조회 3,132
09-04-04 조회 3,315
09-03-05 조회 3,696
09-02-09 조회 3,670
09-02-03 조회 6,169
08-12-27 조회 3,232
08-12-20 조회 4,312
08-11-21 조회 5,275
08-11-14 조회 2,852
08-11-03 조회 3,308