It's to prevent z-index bugs in IE.  We're actually in the middle of
discussing adding an appendTo option to dialog to allow you to specify
where it should be appended (or set to null to leave it where it is).


On Jul 11, 10:47 pm, Miket3 <[email protected]> wrote:
> Anybody know why the dialog code is Appended to the Document.Body by
> default?  This causes problems when using form fields within the
> dialog because it physically moves the fields outside the scope any
> forms.   Just curious why this is default behavior. And if it is
> because of compatibilty issues, why aren't they addressed in the code
> instead of making a drastic code move?   I modified my dialog.js, but
> don't know what the consequences will be for other browsers.
>
> Thanks,
> Mike
--~--~---------~--~----~------------~-------~--~----~
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