views:

125

answers:

3

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 ?

A: 

Hi,

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();

Nagarajan