SitePoint Sponsor |
|
User Tag List
Results 1 to 3 of 3
Thread: On closing window
-
Nov 5, 2006, 11:56 #1
- Join Date
- Nov 2006
- Posts
- 4
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
On closing window
Is there any method of calling a function when the user closes the page? (the browser or the tab).
-
Nov 5, 2006, 12:01 #2
- Join Date
- Sep 2002
- Location
- Grand Rapids, MI
- Posts
- 1,168
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
<body onClose="myfunction()">
From the English nation to a US location.
-
Nov 5, 2006, 12:04 #3
- Join Date
- Nov 2006
- Posts
- 4
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Already tried that. It also triggers if the user presses F5, or browses or.. anything
. Is there another solution?
Bookmarks