This is working fine for me with current SVN.  If you're still having
problems, please make sure you're using the latest version and provide
a test page.


On Sep 12, 9:06 pm, pkw <[EMAIL PROTECTED]> wrote:
> I'm trying to determine is a dialog is open or not.
> When I us dialog("isOpen") it seems to always return some big jquery
> object instead of true or false.
>
> The following code echos "OPEN" twice:
>
>     $('#terminal').dialog('open');
>     if($('#terminal').dialog('isOpen')){
>         console.log("OPEN");
>     } else {
>         console.log("CLOSE");
>     }
>
>     $('#terminal').dialog('close');
>     if($('#terminal').dialog('isOpen')){
>         console.log("OPEN");
>     } else {
>         console.log("CLOSE");
>     }
>
> What am I doing wrong?
>
> thanks,
> paul w.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to