I am basically using a jquery dialog to do a “Are you sure you want to change mode without saving changes” dialog, and for this I have two buttons, yes, and no. Yes goes ahead and changes form, whereas no reverts it back to normal “as this is activated by changing select.
What I would wish to do is have it run the no code on clicking the x to quit the dialog, but I cant seem to find out how.
I am basically using a jquery dialog to do a Are you sure you
Share
Use the close event: http://jqueryui.com/demos/dialog/#event-close