Noty

NOTY is a notification library that makes it easy to create alert - success - error - warning - information - confirmation messages as an alternative the standard alert dialog.

Sweet Alert

Sweetalert is a beautiful replacement for JavaScript "alert"

SweetAlert automatically centers itself on the page and looks great no matter if you're using a desktop computer,mobile or tablet. It's even highly customizeable,as you can see below!

With Function

A warning message,with a function attached to the "Confirm"-button

Passing a Parameter

you can execute something else for "Cancel".