Detect if a jQuery UI dialog box is open

前端 未结 5 1943
离开以前
离开以前 2020-12-24 11:10

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

5条回答
  •  梦谈多话
    2020-12-24 12:02

    jQuery dialog has an isOpen property that can be used to check if a jQuery dialog is open or not.

    You can see example at this link: http://www.codegateway.com/2012/02/detect-if-jquery-dialog-box-is-open.html

提交回复
热议问题