라디오박스 폼 submit 후 프로세스파일(iframe)에서 처리후 부모창으로
<!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>
게시판 목록
팁게시판
디자인과 관련된 유용한 정보를 공유하세요.
질문은 상단의 QA에서 해주시기 바랍니다.
질문은 상단의 QA에서 해주시기 바랍니다.
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 6027 | 9년 전 | 314 | ||
| 6026 | 9년 전 | 271 | ||
| 6025 | 9년 전 | 255 | ||
| 6024 | 9년 전 | 410 | ||
| 6023 | 9년 전 | 289 | ||
| 6022 | 9년 전 | 287 | ||
| 6021 | 9년 전 | 282 | ||
| 6020 | 9년 전 | 255 | ||
| 6019 | 9년 전 | 226 | ||
| 6018 | 9년 전 | 209 | ||
| 6017 | 9년 전 | 247 | ||
| 6016 | 9년 전 | 239 | ||
| 6015 | 9년 전 | 200 | ||
| 6014 | 9년 전 | 168 | ||
| 6013 | 9년 전 | 271 | ||
| 6012 | 9년 전 | 211 | ||
| 6011 | 9년 전 | 225 | ||
| 6010 | 9년 전 | 221 | ||
| 6009 | 9년 전 | 311 | ||
| 6008 | 9년 전 | 202 | ||
| 6007 | 9년 전 | 208 | ||
| 6006 | 9년 전 | 257 | ||
| 6005 | 9년 전 | 223 | ||
| 6004 | 9년 전 | 318 | ||
| 6003 | 9년 전 | 274 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기