iframe은 특정한 부분을 frame로 분리해서 전체 페이지 업로트 없이 iframe으로 정의된 페이지만
수정 변경하여 업데이트 할때 사용한다.
<%
%>
<script language="javascript" type="text/javascript">
<!--
function update()
{
var sddata = "a";
var sdstate = "b";
poupdate.location.href = "./poupdate.asp?aaa="+sddata+"&bbb="+sdstate
}
-->
</script>
<table width="500" border="0" cellspacing="0" cellpadding="0" style="cursor:hand; onclick="javascript:update();">
<tr>
<td> 여기는 업데이트 않함 </td>
<td> 여기는 이후에만 업데이트
<iframe id="po_tree" name="poupdate" src="./poupdate.asp" frameborder="0" width="300" height="200" marginwidth="0" marginheight="0" scrolling="auto"></iframe>
</td>
</tr>
</table>
'먹고 사는 일 > Web' 카테고리의 다른 글
parent 에 데이터 전송 (0) | 2010.02.12 |
---|---|
include (0) | 2010.02.12 |
RSS 가져오기 (HTML 가져오기) (0) | 2010.02.12 |
ASP Error Check (0) | 2010.02.12 |
ASP 이용 XML Load (0) | 2010.02.12 |