Out-focus and close popup windows

Post Reply
tthlan
Quản trị viên
Posts: 76
Joined: Tue Aug 23, 2016 8:13 am

Out-focus and close popup windows

Post by tthlan »

Code: Select all

<script src="/js/jquery-1.4.4.min.js" type="text/javascript"></script>
<script type="text/javascript">
$(window).blur(function() {
    this.close('','_parent','');
});
</script>
Post Reply