Hi Sankar,

The dialog gets moved to the end of the body to prevent z-index
problems in IE.  You can move the dialog back into the form before the
submit to make sure the elements in the dialog get submitted.

Something like this should work:

$(el).dialog({
    close: function() {
        $(this).parents('.ui-dialog').appendTo('form');
    }
});

This would move the entire dialog (we go up to the generated wrapper)
and move it into the form (this assumes there's only one form, but you
could modify the selector in the appendTo if you need to).


On May 21, 9:04 am, Sankar <[email protected]> wrote:
> Hi
>     I am using jQuery dialog. For that I am using div. After entering
> the value I close the Dialog box. That div is available in a form.
> Then when I submit the form through normal page. The values given
> through dialog box is not submitting.
>
> Can I do like this or not. Please help me. Thanks in Advance
--~--~---------~--~----~------------~-------~--~----~
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