Top "Sweetalert" questions

SweetAlert is a JavaScript library that provides a replacement for standard alert() dialogue.

Sweet Alert with form JS (3 input)

I would like to implement a form inside of the sweet alert. I can put just one input inside, with …

javascript html forms css sweetalert
Uncaught (in promise) cancel using SweetAlert2

how do I properly escape the cancel button without throwing an error when using promises? My code throws an alert …

javascript jquery ajax sweetalert sweetalert2
How to change sweetalert button text?

I want to change the 'Ok' button with 'Select patient' and the 'Cancel' to 'Speed case'. How can I do …

jquery sweetalert
Convert javascript array to object of same keys/values

I have a function that returns an array, as follows: But I'm trying to populate a SweetAlert2 dialog. As the …

javascript jquery arrays sweetalert
SweetAlert2 - Bind another event to cancel button?

I am using the latest version of the awesome SweetAlert2 jquery plugin. I have a simple SweetAlert with 2 buttons. 1 button …

button sweetalert sweetalert2
SweetAlert text formatting

I am using sweetAlert for dialog box display. Inside my dialog box, I have to display a large string with …

javascript sweetalert
Delete method with Sweet Alert in Laravel

I'm testing a method using Sweet Alert, to improve the messages issued by the Javascript alert method with the laravel …

javascript php laravel laravel-5.2 sweetalert
How to add HTML input into sweet alert?

I am trying to add radio button into dialog box using sweet alert but I'm not able to do it. …

javascript html css sweetalert
Show loading alert with SweetAlert2 without having to interact

Right now I have this code: swal({ title: 'Loading cars from data base', showLoaderOnConfirm: true, preConfirm: () => { return this.carsSvc.…

typescript promise sweetalert sweetalert2
Add Sweet Alert popup to button in React component

I found this perfect Sweet Alert module for Bootstrap and React (which I'm using in my Meteor app): http://djorg83.…

javascript twitter-bootstrap reactjs sweetalert