I\'d like to be able to detect the (x) close button of a jQuery UI Dialogue being clicked, but I don\'t want to use the dialogclose / dialogbeforeclose
dialogclose
dialogbeforeclose
Really good question
It's working if You use only the click
$(".ui-dialog-titlebar-close").click( function() { debugger; });
But i'm sure there's a reason for the live ?
I'll continue looking
And why you don't want to use this ?
$('.selector').bind('dialogclose', function(event, ui) { debugger; });