//get the button var button = parent.$('.ui-dialog-titlebar-close'); //hide the button button.hide(); 效果如下图