A beautiful, responsive, customizable, accessible (WAI-ARIA) replacement for JavaScript's popup boxes.
you can check more at sweetalert

Sweet Alert

A basic message

A modal with a title, an error icon, a text, and a footer

Custom HTML description and buttons with ARIA labels

A custom positioned dialog

Sweet Alert

A confirm dialog, with a function attached to the "Confirm"-button...

A message with auto close timer

AJAX request example

Chaining modals (queue) example