Maha Dev Maha Dev - 1 year ago 122
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.

Answer Source

You can do it by CSS.

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

Here is working fiddle