I want to remove the window close button provided by jQuery.
$(function () {
$('form').submit(function () {
$("#popUp").dialog({
modal: true,
minWidth: 700
});
$('div').close({ onload: function () {
$('#popUp').remove();
}
});
});
});
This code does not work. How can I remove the close button?
Through CSS
OR Jquery