Sweet Alert

Sweet Alert 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 customizable, as you can see below. Please read the official plugin documentation for a full list of options.

Confirm

A warning message, with a function attached to the confirm button.

Confirm and Cancel

And by passing a parameter, you can execute something else for Cancel.