There is not a setting for this.  There is a way to hack it (below)
but you may want to rethink having a dialog without a close icon.
Perhaps another widget or plugin would better suit your needs.

Anyway, assuming the dialog id is "dialog", after calling the code to
create the dialog, this will hide the close icon:

$("a.ui-dialog-titlebar-close", $("#dialog").prev()).hide();

Hth,

Dave

On Oct 15, 11:41 am, cancha <[email protected]> wrote:
> Hello gentlemen I have a doubt about the dialog boxes, I remove the
> close button which has by default the dialog (the button in the title
> bar), there are some settings for this? ...
--~--~---------~--~----~------------~-------~--~----~
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