JQuery popup without close button

How to create jQuery popup without close button? See my code below.

$('#addNewRecord').dialog(
    {
        autoOpen: true,
        width: 570,
        bgiframe: true,
        resizable: false,
        height:490,
        modal: true
    }
    );

Can anyone help me out?

+3
source share
3 answers

jQuery,

jQuery('.ui-dialog-titlebar-close').hide();

$('.ui-dialog-titlebar-close').hide();

jQuery (document).ready();

+1

Source: https://habr.com/ru/post/1765602/


All Articles