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

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download