Thanks for all your help guys, here is my combination that seems to be
working for me... Just in case someone else wants to know how to do
this:
var closeBtn = $('#dialog').parents('.ui-dialog').find("a.ui-dialog-
titlebar-close");
$(closeBtn).after('<span class="ui-icon ui-icon-minusthick">minus</
span>'); /* this adds the minus icon from the theme set */
$('.ui-icon-minusthick').click(function() {
$("#dialog").parents('.ui-dialog').css("display","none");
}); /* This hides the dialog, haven't figured out how to call it back
up yet */
On Jun 29, 6:37 pm, Scott González <
scott.gonza...@gmail.com> wrote:
> You have to hide the generated wrapper $('#dialog').parents('.ui-dialog');
>