Disable close button in Jquery UI Dialog [duplicate]
Possible Duplicate:
Remove close button on jQueryUI Dialog?
I am getting some problem to disable close button in JQuery UI Dialog.
My code is like bellow.
$(document).ready(function () {
$("#dialog").dialog({
modal: true,
width:800
});
});
Thanx in Advance
Try this It ll work..
$(document).ready(function () {
$("#dialog").dialog({
open: function(event, ui) { $(".ui-dialog-titlebar-close").hide(); },
modal: true,
width:800
});
});
精彩评论