I have a form submit when pressed in which I am showing a small jQuery dialog with a spinning wheel. When I press escape, the dialog closes which is interrupting my form submission. How do I overcome by the user when they press ESC key. How do I prevent the user exiting when the ESC key is pressed for jQuery dialog?
Share
I suppose you’re looking for
http://docs.jquery.com/UI/Dialog#option-closeOnEscape