jquery-confirm icon indicating copy to clipboard operation
jquery-confirm copied to clipboard

How to change default buttons text

Open siddiqdeveloper opened this issue 5 years ago • 1 comments

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:

siddiqdeveloper avatar Mar 29 '19 14:03 siddiqdeveloper

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"');
                }
            }
        }
    });

phpxtreme avatar Mar 29 '19 19:03 phpxtreme