I came across the following code from the following website. I was wondering if I have to make the Ok
button look like bootstrap one, where would I be inserting the class="btn btn-default"
which is required for bootstrap buttons?
$.extend({ alert: function (message, title) {
$("<div></div>").dialog( {
buttons: { "Ok": function () { $(this).dialog("close"); } },
close: function (event, ui) { $(this).remove(); },
resizable: false,
title: title,
modal: true
}).text(message);
}
});