Can anybody give me some idea as to how I detect if a user is leaving my website.
I want to run a function whenever a user closes the browser or goes to another domain. I know the 'onunload' javascript event handler can be used for this but it works when navigating inside my domain too...!
I dont use frames...!!!
Any ideas..?
I want to run a function whenever a user closes the browser or goes to another domain. I know the 'onunload' javascript event handler can be used for this but it works when navigating inside my domain too...!
I dont use frames...!!!
Any ideas..?