开发者

Jquery popup window without close button

开发者 https://www.devze.com 2023-01-17 07:06 出处:网络
How do I create a jQuery popup window without close button? Please see my code below. $(\'#addNewRecord\').dialog(

How do I create a jQuery popup window without close button? Please see my code below.

$('#addNewRecord').dialog(
   开发者_开发技巧 {
        autoOpen: true,
        width: 570,
        bgiframe: true,
        resizable: false,
        height:490,
        modal: true
    }
    );

Could anyone please help me ?


Please refer How to remove close button on the jQuery UI dialog?


Or how about Best way to remove the close button on jQuery UI dialog box widget?


You are using jQuery dialog, so simply add the below code

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

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

within the jQuery(document).ready();

0

精彩评论

暂无评论...
验证码 换一张
取 消