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 box is open or not?
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 box is open or not?