Sweet Alert 2

A beautiful plugin, that replace the classic alert, Handcrafted by our friend Tristan Edwards. Please check out the full documentation.



Basic example
A title with a text under
A success message
Custom HTML description
A warning message, with a function attached to the "Confirm" Button...
...and by passing a parameter, you can execute something else for "Cancel"
A message with auto close timer set to 2 seconds
Modal window with input field