Following javascript code you could use to detect browser close and tab close event.
window.onbeforeunload = function () { alert("Do you really want to close?"); };
No comments:
Post a Comment