jquery-confirm
jquery-confirm copied to clipboard
How to change default buttons text
jquery-confirm version: v3.x.x
I'm submitting a ... (check one with "x") [ ] bug report [ ] feature request [ ] support request
Current behavior:
Expected behavior:
Steps to reproduce:
Related code:
insert any relevant code here
Other information:
Docs here: https://craftpip.github.io/jquery-confirm/#buttons
When u define a button, inside their properties.. like so:
$.confirm({
buttons: {
ok: {
text: 'Default Button Text Here', // With spaces and symbols
action: function () {
$.alert('You clicked on "OK"');
}
}
}
});