You can use $('.ui-button:contains(Export)').hide() : (the following code hides the export button when you click on it)
$( "#dialog-confirm1" ).dialog({ resizable: false, height:350, width:650, modal: false, autoOpen:false, buttons: { "Export": function() { exportCSV(2); $(event.target).hide(); }, Cancel: function() { $( this ).dialog( "close" ); } } });
source share