Get started with mistic100-Bootstrap-Confirmation CDN

Apache-2.0 licensed

Mistic100-Bootstrap-Confirmation is a Bootstrap plugin that adds customizable confirmation prompts to forms.

Tags:
  • confirmation
  • popup

Stable version

Copied!

How to start using mistic100-Bootstrap-Confirmation CDN


<!DOCTYPE html>
<html>
<head>
    <title>Get started with mistic100-Bootstrap-Confirmation CDN - cdnhub.io</title>
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet">
    <script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.6/dist/umd/popper.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/js/bootstrap.min.js"></script>
    <script src="https://cdn.cdnhub.io/mistic100-Bootstrap-Confirmation/4.2.1/bootstrap-confirmation.min.js"></script>
</head>
<body>
    <button id="confirmButton" class="btn btn-primary" data-toggle="mistic-confirm">
        Confirm Action
    </button>

    <script>
        $('#confirmButton').misticConfirm({
            title: 'Confirm Action',
            message: 'Are you sure you want to perform this action?',
            confirm: function() {
                console.log('Confirm button clicked');
            },
            cancel: function() {
                console.log('Cancel button clicked');
            }
        });
    </script>
</body>
</html>

All versions