jquery-ui-dialog – How to hook into dialog close event

I am using the jquery-ui-dialog plugin I am looking for way to refresh the page when in some circumstances when the dialog is closed. Is there a way to capture a close event from the dialog? I know I can run code when the close button is clicked but that doesn’t cover the user closing … Read more

jQuery UI Dialog – missing close icon

I’m using a custom jQuery 1.10.3 theme. I downloaded every straight from the theme roller and I have intentionally not changed anything. I created a dialog box and I get an empty gray square where the close icon should be: I compared the code that is generated on my page: <div class=”ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix”> … Read more

How to remove close button on the jQuery UI dialog?

How do I remove the close button (the X in the top-right corner) on a dialog box created by jQuery UI? 25 s 25 I have found this worked in the end (note the third line overriding the open function which find the button and hides it): $(“#div2”).dialog({ closeOnEscape: false, open: function(event, ui) { $(“.ui-dialog-titlebar-close”, … Read more