Is the window object onclose() or closing() event exposed in HTML/Javascript?
+1
A:
You have both onunload() and onbeforeunload() javascript events for that.
romaintaz
2009-01-20 10:06:27
A:
There is no event that lets you determine the difference between a page refresh, form submission, link clicked, or browser closed.
I am guessing that is what you are really after.
epascarello
2009-01-20 15:13:49