jquery-confirm
jquery-confirm copied to clipboard
Preselection of "OK" Button
jquery-confirm version: v3.3.4
I'm submitting a ... (check one with "x") [ ] bug report [ ] feature request [x ] support request
Current behavior: Wen the confirm dialog is opened, no preselected button can be selected by default.
Expected behavior:
I want that a specific button is preselected. How to get this feature? I just want, that the "OK" button is selected by default.
Steps to reproduce: Just create a yes/no confirm dialog.
Related code:
width:"30%",
title: 'Bitte bestätigen',
content: text,
buttons: {
confirm: {
text:"OK",
action: function() {
// OK Action
}
},
cancel:{
text: "abbrechen",
action: function () {
// cancel action
}
}
}
});
insert any relevant code here
Other information: