[Ilugc] Javascript Help

  • From: vkanakala@xxxxxxxxx (Vamsee Kanakala)
  • Date: Mon May 31 19:04:38 2010

Rajesh kumar wrote:

Is there any way to find weather the page is closed or refreshed when
window.unload() function is called .???
  

Ideally it should not matter - which leads me to the question, why do 
you want it? Either way, use this (window.onunload) with caution - 
nagging users not to close browser windows is generally considered bad 
form (unless you're warning users about unsaved data) and is a usability 
bug.

Vamsee.

Other related posts: