BootstrapDialog.show({ title: 'Button Hotkey', message: $(''), $(''), $(''), buttons: [{ label: '(Enter) Button A', cssClass: 'btn-primary', hotkey: 13, // Enter. action: function() { alert('You pressed Enter.'); } }] });