关于JQuery UI:dialog的isOpen API施用

关于JQuery UI:dialog的isOpen API使用请大家注意在使用JQuery UI的dialog插件时,如果调用isOpen这个API,

关于JQuery UI:dialog的isOpen API使用

请大家注意在使用JQuery UI的dialog插件时,如果调用isOpen这个API,注意他的返回值,JQ的官方文档对此API的说明如下:

if((typeof $("#dialog").dialog("isOpen")=='object') || $('#dialog').dialog('isOpen')){ alert('已经打开');}?

?

?

外国码农的记录:

http://www.sikosoft.com/item/having_trouble_with_jquerys_dialogisopen

?

jquery bug 记录:

http://bugs.jqueryui.com/ticket/4347

?

jquery官方文档:

http://docs.jquery.com/UI/Dialog

?