lipis / bootstrap-sweetalert

:cake: A beautiful "replacement" for JavaScript's alert ⛺
https://lipis.github.io/bootstrap-sweetalert/
MIT License
2.1k stars 503 forks source link

Prompt w/ Sweet Alert into Variable? #88

Open EdwardDK opened 7 months ago

EdwardDK commented 7 months ago

I have no clue how to do this.

Normally, I would write this:

let test=prompt("Enter a name")

How would I do the same with SweetAlert. How would I store it in a variable?

EdwardDK commented 7 months ago

is there any support? I just need to know how to place input result into variable @lipis