Thread
:
Detecting form navigation
View Single Post
#
2
(
permalink
)
Aug 23rd, 2007, 10:23
alexgeek
Technical Administrator
Join Date: Jul 2007
Location: Webforumz 24/7
Age: 15
Posts: 3,801
Blog Entries:
9
Thanks: 2
Thanked 2 Times in 2 Posts
Re: Detecting form navigation
Put a function for unload:
<body onunload="leavingPage()">
then the function:
<script type="text/javascript">
/* put what you want to happen when the user leaves */
alert(you are leaving)
</script>
should work
alexgeek
View Public Profile
Visit alexgeek's homepage!
Find all posts by alexgeek
View Blog