I am using this in my application. I would like to use sweet alert like below.
swal({
title: "Are you sure?",
text: "You are going to delete <b>"+ name +"</b> address. ",
icon: "warning",
buttons: true,
dangerMode: true,
})
But it now working. It is displaying HTML code. Thanks.
Update
I read this question, but this question is about sweet alert2. My question is about sweet alert . Both are sweet alert but both are not same.