There is an alternative of swal which is swal2
but if you want to stay with swal then there is a playaround by jquery
swal("Done!", 'This will change', "success");
$('.swal-text').html(response.msg)
There is an alternative of swal which is swal2
but if you want to stay with swal then there is a playaround by jquery
swal("Done!", 'This will change', "success");
$('.swal-text').html(response.msg)