SweetAlert html option not working
Solution 1:
as Doc says :
html is no longer used. Instead use the content object.
(https://sweetalert.js.org/guides/)
try:
swal({
content: "input",
});
as Doc says :
html is no longer used. Instead use the content object.
(https://sweetalert.js.org/guides/)
try:
swal({
content: "input",
});