From : https://github.com/sweetalert2/sweetalert2/issues/226
$(".swal2-confirm").attr('disabled', 'disabled');
works fine... but after a few checks, how do I programmatically enable it?
I tried $(".swal2-confirm").attr('enabled', 'enabled');
and that doesn't work. How do I programmatically enable it again?
Thanks