Browse - Programming Tips - How can I remove the close [X] button from a jQuery UI dialog\?

Date: 2015oct13
Library: jQueryUI
Language: javaScript


Q.  How can I remove the close [X] button from a jQuery UI dialog\?

A.   After its open do:

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