I need help creating a function in javascript / jquery to do the following:
When the user accesses my site, it starts timer.
If the person tries to close the browser window / tab before a certain time, eg. 5 sec, then it performs a fun...
asked by
02.07.2015 / 16:22