jQuery unload() wont work.Help.
while i close the browser,i let it alert.so i write
$(window).unload(function() {
alert(‘bye’);
});
but it wont work.
then.i write
window.onbeforeunload = function(){alert(‘bye’)}
still dont work.need help.thx.
jQuery unload() wont work.Help.
while i close the browser,i let it alert.so i write
$(window).unload(function() {
alert(‘bye’);
});
but it wont work.
then.i write
window.onbeforeunload = function(){alert(‘bye’)}
still dont work.need help.thx.
the first one is working for me
which browser do you use?
ok.its done.ya.matters of browser.i use chrome 17.