Menu
Hi all –
I am having a problem saving information if a user clicks the “X” and closes the window. I need data to be sent to a Learning Management System (LMS) regardless of whether a user exits a course properly or clicks the “X”.
The data is saved fine if the user exits properly. I’m having trouble with the “X” because I don’t know how to delay the window closing. I have data saved on a frame, and if the window closes too quickly, the data doesn’t have enough time to make it to the server.
Any ideas? I’m using JavaScript and HTML to build the course.
Any help is greatly appreciated! Thanks