Bootbox js : Change placement of Ok Button
You can change order of the buttons. Try:
bootbox.confirm({
title: "danger - danger - danger",
message: "Are you sure of this?",
buttons: {
cancel: {
label: "Cancel",
className: "btn-default pull-right"
},
confirm: {
label: "Delete",
className: "btn-danger pull-left"
}
},
callback: function(result) {
// Do your stuff here
}
});
Hope this works for you.
You can do it by CSS.
.modal-footer button {
float:right;
margin-left: 10px;
}
Here is working fiddle http://jsfiddle.net/9L3A9/51/