programming:js:jquery-ui-disable-close-button
jQuery UI отключение кнопки закрытия диалогово окна
open: function(event, ui) { //hide close button. $(this).parent().children().children('.ui-dialog-titlebar-close').hide(); }, Here is another option just using CSS that does not over ride every dialog on the page. The CSS .no-close .ui-dialog-titlebar-close {display: none } The HTML <div class="selector" title="No close button">This is a test without a close button</div> The Javascript. $( ".selector" ).dialog({ dialogClass: 'no-close' });
programming/js/jquery-ui-disable-close-button.txt · Последнее изменение: 2017/03/27 11:28 — artur