I use the following event in JavaScript for page load.whenever the page is closed the alert will show.It will works fine in FireFox but not in Chrome .How to change this following event common for IE , FireFox And Chrome?
$(window).unload(function()
{
alert('Bye')
})
Use this JS code for a while, this is a bug of JQuery in latest Chrome release.