Hello. I have this code, which open new jquery-ui dialog and then hide the dialog's titlebar.
<div id="keyboard" class="keyboard dialogs">...</div>
$("#keyboard").dialog({
width: 1136,
height: 437,
position: ['center',400],
closeOnEscape: false,
autoOpen: false,
resizable: false,
open: function(event, ui) {
$(".ui-dialog-titlebar").hide(); // <-- this selector i want to change
}
});
But $(".ui-dialog-titlebar") select all titlebars. How do i have change selector to hide only this titlebar?