I am new in Jquery. I have a code for dialog.
$(this.choosePadsContainer).dialog({
title: 'Choose pad locations',
autoOpen: false,
modal: true,
buttons: { "OK": function () {
//Extract all checked pad locations.
var checkedPads;
checkedPads = new Array();
$(self.padLocationsForActivity + " input:checked").each(function (index, value) {
checkedPads.push($(value).val());
});
//Set selected pad text.
setSelectedPadText(self.selectedPadsLblIdFormat, $(self.hiddenActivityAreaCode).val(), checkedPads);
$(this).dialog("close");
}
}
});
I want to give css class to the OK button. How will it be done?