Can someone explain how I can change the CSS class on the button, for the standard JQuery UI dialog widget? My addClass() call is not working.
$("#dialog-message").dialog({
modal: true,
buttons: {
Ok: function () {
$(this).dialog("close");
$(this).addClass("btn");
}
}
});