I need to manipulate the clicked button inside this function, how to pass the btn variable into it?
$('.btn_excluir').on('click', function () {
btn = $(this);
swal_confirm('Deseja realmente excluir o registro?', function (btn) {
console.log(btn);
});
});