I am using a jQuery UI dialog. If it is open, I want to do one thing. If it is closed, I want to do another.
My question is, how do I detect if a jQuery UI dialog b
jQuery dialog has an isOpen property that can be used to check if a jQuery dialog is open or not.
isOpen
You can see example at this link: http://www.codegateway.com/2012/02/detect-if-jquery-dialog-box-is-open.html