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

· 14년 전 · 2891
<!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>
|
댓글을 작성하시려면 로그인이 필요합니다.

프로그램

+
제목 글쓴이 날짜 조회
14년 전 조회 2,373
14년 전 조회 2,864
14년 전 조회 1,675
14년 전 조회 1,657
14년 전 조회 1,438
14년 전 조회 3,471
14년 전 조회 1,449
14년 전 조회 1,180
14년 전 조회 2,001
14년 전 조회 2,405
14년 전 조회 1,367
14년 전 조회 1,956
14년 전 조회 1,963
14년 전 조회 2,019
14년 전 조회 2,126
14년 전 조회 1,793
14년 전 조회 9,276
14년 전 조회 1,907
14년 전 조회 2,208
14년 전 조회 1,337
14년 전 조회 1,252
14년 전 조회 1,358
14년 전 조회 1,746
14년 전 조회 2,765
14년 전 조회 1,297
14년 전 조회 2,267
14년 전 조회 2,512
14년 전 조회 1,651
14년 전 조회 1,577
14년 전 조회 1,135
14년 전 조회 1,705
14년 전 조회 1,612
14년 전 조회 1,465
14년 전 조회 1,386
14년 전 조회 1,437
14년 전 조회 1,803
14년 전 조회 2,577
14년 전 조회 1,705
14년 전 조회 1,158
14년 전 조회 1만
14년 전 조회 1,475
14년 전 조회 1,346
14년 전 조회 1,927
14년 전 조회 3,040
14년 전 조회 1,852
14년 전 조회 1,535
14년 전 조회 1,315
14년 전 조회 2,211
14년 전 조회 1,524
14년 전 조회 2,892
14년 전 조회 1,339
14년 전 조회 1,320
14년 전 조회 1,446
14년 전 조회 2,164
14년 전 조회 1,313
14년 전 조회 2,807
14년 전 조회 1,116
14년 전 조회 3,726
14년 전 조회 3,876
14년 전 조회 3,807
14년 전 조회 3,618
14년 전 조회 1,285
14년 전 조회 1,258
14년 전 조회 1,781
14년 전 조회 2,027
14년 전 조회 1,199
14년 전 조회 1,305
14년 전 조회 1,174
14년 전 조회 5,283
14년 전 조회 1,176
14년 전 조회 5,564
14년 전 조회 1,889
14년 전 조회 1,697
14년 전 조회 1,133
14년 전 조회 1,326
14년 전 조회 1,832
14년 전 조회 1,330
14년 전 조회 1,994
14년 전 조회 1,526
14년 전 조회 1,287
14년 전 조회 1,420
14년 전 조회 3,485
14년 전 조회 1,241
14년 전 조회 1,791
14년 전 조회 1,436
14년 전 조회 1,390
14년 전 조회 1,271
14년 전 조회 3,914
14년 전 조회 1,834
14년 전 조회 1,282
14년 전 조회 1,349
14년 전 조회 1,337
14년 전 조회 1,415
14년 전 조회 1,202
14년 전 조회 1,291
14년 전 조회 1,923
14년 전 조회 3,784
14년 전 조회 2,227
14년 전 조회 1,270
14년 전 조회 1,255