Hi ,
This below code working Fine but this code execute every event But i want when click the browser close Button this below code execute ... Give the suggestions
<script>
window.CloseEvent("beforeunload", function (e) {
var confirmationMessage = "Vamsi Vakati";
(e || window.event).returnValue = confirmationMessage;
return confirmationMessage;
});</script>
Thank You in Advance