Question

I have used the jQuery dialog code so that I can prompt my user. Is there a way to catch if the user clicks the close button (the 'X' in the top right? Thanks.

Was it helpful?

Solution

You shuold be able to just catch the beforeclose event (docs to be found here).

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top