Sweet Alert
Examples
A beautiful, responsive, customizable, accessible (WAI-ARIA) replacement for JavaScript's popup boxes
Alert Type | Example |
---|---|
A basic message | |
A title with a text under | |
A success message! | |
A modal window with a long content inside: | |
A custom positioned dialog | |
A modal with a title, an error icon, a text, and a footer | |
A confirm dialog, with a function attached to the "Confirm"-button... | |
By passing a parameter, you can execute something else for "Cancel". | |
A message with custom Image Header | |
A message with auto close timer | |
Custom HTML description and buttons | |
A message with custom width, padding and background | |
Ajax request example | |
Chaining modals (queue) example | |
Dynamic queue example |