본문 바로가기
프로그래밍/html & jsp

HTML 윈도우창 닫힐때 발생하는 이벤트

by Super User 2010. 8. 27.
<html>
<head>
<script type="text/javascript">
    function onClose()
    {
        window.opener.location.reload();
    }
</script>
</head>
<body onunload="onClose();">
</bode>
</html>

'프로그래밍 > html & jsp' 카테고리의 다른 글

pre 태그 강제 줄바꿈  (0) 2010.09.29
팝업창 중앙으로 위치  (0) 2010.09.15
tinymce 에디터 사용법  (0) 2010.08.10
<PRE> 태그 길이 고정  (0) 2010.08.06
HTML 윗첨자 / 아래첨자 만들기  (0) 2010.06.08