How to find browser close event in firefox
-
Hi all, In my webapplication I want to find browser close event. in the following event it is working fine for IE but not to fire fox function onBrowserClose() { if(window.screenTop>10000){ alert("You have clicked browser close button :) ") } } window.onunload=onBrowserClose </script> but it is not working for firefox. any body can help me thanks to all
-
Hi all, In my webapplication I want to find browser close event. in the following event it is working fine for IE but not to fire fox function onBrowserClose() { if(window.screenTop>10000){ alert("You have clicked browser close button :) ") } } window.onunload=onBrowserClose </script> but it is not working for firefox. any body can help me thanks to all
try this links it may help. http://bytes.com/topic/javascript/answers/559950-firefox-onbeforeunload-detect-close-event[^] http://www.daniweb.com/forums/thread82359.html#[^]
LatestArticle :Log4Net Why Do Some People Forget To Mark as Answer .If It Helps.