I have been using JQuery UI dialog box.The following code I am using.Can any one please let me know how to hide the Export button after click
$( "#dialog-confirm1" ).dialog({
resizable: false,
height:350,
width:650,
modal: false,
autoOpen:false,
buttons: {
"Export": function() {
exportCSV(2);
},
Cancel: function() {
$( this ).dialog( "close" );
}
}
});