Tuesday, August 7, 2012

HTML/JQuery - onunload function


<script type="text/javascript">
    $(document).ready(function () {
        $(window).unload(function () {
                  alert("hey");
        });
    });
</script>

No comments:

Post a Comment