Answer the question
In order to leave comments, you need to log in
How to display a message on page close and execute ajax function?
Good afternoon. There is a page, when updating or closing a message should be displayed. If the person agrees with the close or refresh option, the ajax function must be executed.
Answer the question
In order to leave comments, you need to log in
As far as I know, no way . you cannot prevent the window from closing for security reasons.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question