Script
$("#myDialogID").dialog({ closeOnEscape: false, beforeclose: function (event, ui) { return false; }, dialogClass: "noclose" });
This CSS is to be added newly. In jqueryui.css.
$("#myDialogID").dialog({ closeOnEscape: false, beforeclose: function (event, ui) { return false; }, dialogClass: "noclose" });
This CSS is to be added newly. In jqueryui.css.
.noclose .ui-dialog-titlebar-close
{
display:none;
}
No comments:
Post a Comment