Tuesday, 4 April 2017

How to close tab in JavaScript Event.

<script>
window.onbeforeunload = function () {
    alert("Do you really want to close?");
};
</script>

No comments:

Post a Comment