If you haven't created the dialog before this, you need to remove the
open string from the dialog call.  (don't forget the ending semi-
colon :)

$($(this)[0].parentNode).find('.dialogClass').dialog();

or this:

$(this).eq(0).parent().find('.dialogClass').dialog();

Hth,

Dave


On Apr 9, 10:26 am, Karlos <[email protected]> wrote:
> Why i can't open the dialog like this.
>
> $($(this)[0].parentNode).find('.dialogClass').dialog('open')
>
> if i debug, i am finding the right div, just the dialog is not
> opening.
--~--~---------~--~----~------------~-------~--~----~
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