form에서 text를 입력 받고, 버튼이 검색, 삭제, 추가, 변경 이 있는데
이 모든 처리는 text와 관련이 있고 표시되는 창이 iframe으로 3군데 있습니다.
iframe은 id 지정하여 from에서 target으로 지정할 수 없나요.
각 버튼을 클릭할 때 해당 ifram에 결과가 출력 되기를 원합니다.
--------------- 아래 ----------------------------------------
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=KSC5601">
<title>Insert title here</title>
</head>
<body>
<script type="text/javascript">
function getPationInfo(f) {
f.method="POST";
f.action="/MedicalCenterWEBEdition/read_patient_info.jsp";
f.name="name";
f.target="patient_health_information";
f.enctype="KSC5601";
}
</script>
<div id = "search_form" align="center">
<form method=post action="/MedicalCenterWEBEdition/insert_patient.jsp">
<b>Patient</b> <input type=text name="name" maxlength=60 size=20 border=0>
<input type=button value=검색 onClick="getPationInfo(this.form);">
</form>
</div>
<div id = "middle" align="center" >
<h4>검색</h4>
<iframe id='patient_health_information'
src="/man_info.jsp"
scrolling=no name=ce width=200 height=300 frameborder=0
style="border-width:0px; border-color:white; border-style:solid;">
</iframe>
</div>
</body>
</html>