🔔 Alert..!! Get 2 Month Free Cloud Hosting With $200 Bonus From Digital Ocean ACTIVATE DEAL

Confirm Action is a jQuery plugin that helps you create a pretty confirm dialog popup to replace the default JS confirm() method.

confirm Dialog

Documentation

jQuery Confirm Action

screenshot

Getting Started

<script type="text/javascript" src="./jquery.confirm-action.js"></script>
$('.my-button').confirmAction({     title: {         text: 'Whoa!'     },     message: {         text: 'You are about to do a bad thing, are you sure?'     } });

Advanced Usage

$('.my-button').confirmAction({     title: {         html: [             '<i class="fa fa-warning"></i><br />',             'Stop right there!'         ],         style: 'danger'     },     message: {         html: 'You are about <strong>delete the internet</strong>, are you sure?'     },     actions: {         confirm: {             text: 'Go Ahead',             callback: function(confirm, cancel) {                 confirm();             }         }     } });

You May Also Like