单击 jquery 警报中的确定按钮后重新加载页面

Reload page after click ok button in jquery alert

以下 link 是我面临的问题示例。当我点击确定按钮时,我应该重新加载页面。除非页面不应该重新加载。为此,我有 google。还是没有结果。如何实现。

Jsfiddle

 $(function () {
bootbox.alert({
    message: "I'm the first!"
});
location.reload(true);
});
$(function () {
    bootbox.alert({
    message: "I'm the first!",
    callback: function () { location.reload(true); }
});