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
    });
});
                        If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With