I tried this:

  $(document).unload(function() { alert("Bye now!"); } );

But it doesn't seem to do anything. What am I doing wrong?

(I'm using the latest version of jQuery.)

Thanks,
Trans.

Reply via email to