Maha Dev Maha Dev - 10 months ago 89
jQuery Question

Bootbox js : Change placement of Ok Button

In bootbox.js, by default Ok button showing after Cancel button. I want it to be first and then cancel. Here is the situation of current scenario,

I need Ok button first. I have scene its documentation but didn't find a way to do it.


You can do it by CSS.

.modal-footer button {
  margin-left: 10px;

Here is working fiddle