I used the script to detect if the users were closing the page without saving.
It worked perfectly, but now an additional script is screwing it up. This
scripts displays a datepicker (DIV) and after that the event on the
beforeunload is triggered too! Any suggestions here from somebody to check what
the user had clicked?
I used the script to detect if the users were closing the page without saving. It worked perfectly, but now an additional script is screwing it up. This scripts displays a datepicker (DIV) and after that the event on the beforeunload is triggered too! Any suggestions here from somebody to check what the user had clicked?
My thanks will be great!