비

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

· 2012-01-10 (화) 13:53:25 · 4602
<!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건
+
제목 글쓴이 날짜 조회
12-02-11 조회 3,195
12-02-11 조회 3,091
12-02-11 조회 3,522
12-02-10 조회 1만
12-02-10 조회 3,677
12-02-10 조회 4,647
12-02-09 조회 4,008
12-02-09 조회 3,571
12-02-09 조회 6,512
12-02-09 조회 3,223
12-02-08 조회 3,660
12-02-08 조회 3,064
12-02-08 조회 3,120
12-02-08 조회 4,077
12-02-08 조회 4,789
12-02-08 조회 3,123
12-02-07 조회 3,447
12-02-07 조회 3,383
12-02-07 조회 3,389
12-02-07 조회 2,694
12-02-07 조회 3,433
12-02-07 조회 2,983
12-02-06 조회 3,159
12-02-06 조회 3,055
12-02-06 조회 3,618
12-02-06 조회 4,052
12-02-06 조회 3,403
12-02-06 조회 1.2만
12-02-06 조회 4,335
12-02-06 조회 5,776
12-02-05 조회 2,862
12-02-05 조회 3,637
12-02-05 조회 3,044
12-02-04 조회 2,965
12-02-04 조회 2,956
12-02-04 조회 6,784
12-02-03 조회 3,960
12-02-03 조회 4,348
12-02-03 조회 2,851
12-02-03 조회 3,397
12-02-03 조회 3,985
12-02-02 조회 3,018
12-02-02 조회 3,790
12-02-02 조회 3,824
12-02-02 조회 5,490
12-02-02 조회 3,447
12-02-02 조회 4,706
12-02-02 조회 3,562
12-02-01 조회 3,402
12-02-01 조회 3,633
12-02-01 조회 4,063
12-02-01 조회 3,350
12-02-01 조회 2,900
12-01-31 조회 3,322
12-01-31 조회 3,569
12-01-31 조회 2,976
12-01-30 조회 9,741
12-01-30 조회 8,909
12-01-30 조회 2,888
12-01-30 조회 3,306
12-01-30 조회 3,394
12-01-30 조회 2,902
12-01-30 조회 3,063
12-01-29 조회 3,389
12-01-29 조회 3,256
12-01-29 조회 4,718
12-01-29 조회 2,899
12-01-29 조회 3,608
12-01-29 조회 3,905
12-01-28 조회 3,518
12-01-28 조회 2,765
12-01-28 조회 3,569
12-01-27 조회 2,964
12-01-27 조회 2,874
12-01-27 조회 2,916
12-01-27 조회 3,362
12-01-26 조회 6,654
12-01-26 조회 3,718
12-01-26 조회 3,506
12-01-26 조회 3,036
12-01-26 조회 3,131
12-01-25 조회 3,204
12-01-25 조회 3,012
12-01-25 조회 2,885
12-01-25 조회 2,690
12-01-25 조회 2,559
12-01-25 조회 4,287
12-01-25 조회 4,161
12-01-25 조회 2,767
12-01-25 조회 4,123
12-01-25 조회 3,596
12-01-24 조회 3,314
12-01-24 조회 3,517
12-01-24 조회 3,730
12-01-24 조회 4,444
12-01-22 조회 3,529
12-01-22 조회 2,875
12-01-22 조회 3,279
12-01-22 조회 3,782
12-01-21 조회 3,128