Thanks Fontzer, but no, I'm using a standard dialog which has content 
that serves like a value picker for arbitrary data. Something along the 
lines of the datepicker, but not _the_ datepicker.

I need to figure out how to catch a click outside the dialog.

/Göran

Fontzter wrote:
> Are you using the dialog method of the datepicker?  This should be the
> default behavior.
>
> http://jqueryui.com/demos/datepicker/#method-dialog
>
> Dave
>
>
> On Nov 24, 3:53 pm, Göran Törnquist <[email protected]> wrote:
>   
>> Hi,
>> I have a dialog that serves as a data picker. Problem is that I'd like
>> it to behave like the datepicker does. When you click outside of the
>> datepicker, it closes the datepicker.
>>
>> How can I make a standard dialog work the same way?
>>
>> /G ran
>>
>> --
>> This message has been scanned for viruses and
>> dangerous content by MailScanner, and is
>> believed to be clean.
>>     
>
> --
>
> 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.
>
>
>
>   


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

--

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