It worked perfectly thank you.

If I can bother you once more can you, please tell me how can I put a
loading gif in the button bar of the dialog.

Thanks in advane

On Oct 5, 3:29 pm, sAvEOUrplAnEt <[email protected]> wrote:
> For "X" close:
>  -
> $(this).parents('.ui-dialog:first').find('.ui-dialog-titlebar-close').remov­e();
>
> For the button you can try this:
>  -  $(this).parents('.ui-dialog-buttonpane button:eq(0)').focus();
>
> Goodluck JQuerying!
>
> On Mon, Oct 5, 2009 at 11:26 AM, mvbaffa <[email protected]> wrote:
>
> > Hi,
>
> > I am new to jQuery and I would like to remove the close Icon (the "X"
> > that closes the dialog box).
>
> > I have one button in the dialog, I need also to make this button the
> > default button. That is when I press enter the button event will be
> > fired.
>
> > Thanks in advance
>
> --
> MigsAbagat
--~--~---------~--~----~------------~-------~--~----~
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