Answers for "jquery confirmation before form submit"

0

form confirm before submit

<form 
    method="post"
    onSubmit="return confirm('Are you sure you wish to delete?');">
...
</form>
Posted by: Guest on May-19-2020
0

jquery button click confirm and validate before submit

$("#regsub").click(function() {
    $val = confirm('Register now and update details later, If you want to fill all details and access full potential of SISTA360 press Cancel and Continue');
    if($val == true){
    $('#fieldset__registration').validate({  
                rules: {
            password: {
                required: true,
                minlength: 6
            },
            confirmpassword: {
                required: true,
                minlength: 6,
                equalTo: "#f1-password"
            }
        },
    });
    }
});
Posted by: Guest on April-01-2022

Code answers related to "jquery confirmation before form submit"

Code answers related to "Javascript"

Browse Popular Code Answers by Language