Hi, i wanted to know how i could run a code when the user is about to close their browser (presses the x button on their browser)
I would liketo make an insert into the database as soon as the user tries to close the browser by pressing the x button on their browser window
Does anyone know how to do this?
Thanks
...
Go to the complete details ...