Dave's Brain

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

Add a comment

Sign in to add a comment
Copyright © 2008-2017, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.