Hi,
While closing browser(IE/Chrome/FireFox) , I need to delete some files from virtual directory.
For that, I have added below event at client side to verify with all browsers and observed that IE is getting alert message wherein not working in Chorme/Firefox browsers.
window.onbeforeunload = function() {
alert("onbeforeunload");
}
How avoid this type of issue and let me know is there any alternate solution for this.