Is there any way to accomplish something like this?
Basically, after our users are finished with a page I want to evaluate some fields and perform a few actions on the values of those fields. But the fields might change several times, and I only want to run the script once, so I can’t really use a model action… unless I’m missing something?
I can create a ‘close’ button that runs multiple actions… but this doesn’t account for users closing the window. Do I have to just train our users to never close their browser windows, and always use the ‘close’ button?
Thanks!
Question
Run javascript when user closes a page?
This topic has been closed for replies.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.