Сладкая форма

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<script>
    function submitForm(form) {
        swal({
            title: "Are you sure?",
            text: "This form will be submitted",
            icon: "warning",
            buttons: true,
            dangerMode: true,
        })
        .then(function (isOkay) {
            if (isOkay) {
                form.submit();
            }
        });
        return false;
    }
</script>
Dizzy Dunlin