Niels,

You should attach to the focus event on your textbox and open the
dialog there.

$("#textbox").focus(function() { $("#dialog").dialog(); });

Then when you click on the picture, you attach the click event and
send the information back to the textbox.
Remember is better to preload the dialog and then open it, check the
documentation on it.

Hope this helps,
Leo!

On Apr 18, 3:33 pm, Niels <[email protected]> wrote:
> Hi,
> I look for a way to open a jQuery Dialog by activating a text field.
> (Inside the Dialog you should be able click on a picture and while the
> dialog closes, data relating to the picture is insert into the text
> field.)
> In the end it should look and behave similar to the jQuery Datepicker.
>
> Can someone help me with this?
--~--~---------~--~----~------------~-------~--~----~
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