The complete definition of a button object is: buttonName : { id: null, label: 'Your button text', className: 'some-class', callback: function() { } } Copy id is an optional property and can be omitted. Options: alert ok confirm cancel, confirm prompt cancel, confirm Each of...
All Bootstrap modals (and therefore Bootbox modals), unlike native alerts, confirms, or prompts, are asynchronous; meaning, the events which Bootstrap generates are non-blocking events. Because of this limitation, code that should not be evaluated until a user has dismissed your dialog must be...