开发者

Jquery popup window without close button

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜