Hi Guys :)
I've noticed that in the process of jQuery UI creating and marking up
dialogs,
it changes the structure of the document, placing the new dialogs at
the
bottom of the body. This is giving me grief because I don't use id's
on
these dialogs, and when I need to provide a selector to attach the
behaviour
to open the dialog to the link, I can't find my dialog, which is
referenced
relatively.
$('#results .versionDialog').dialog({
autoOpen: false,
width: 600
});
$('#results .dialogLink').click(function(e){
$(this).parent().parent().find('.versionDialog').dialog('open');
return false;
});
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---