Hello every one can any body tell me what to do to submit the form
$("form").validate({
        invalidHandler: function(e, validator) {
            var errors = validator.numberOfInvalids();
            if (errors) {
                var message = errors == 1
                    ? 'You missed 1 field. It has been highlighted below'
                    : 'You missed ' + errors + ' fields.  They have been
highlighted below';
                $("div.error span").html(message);
                $("div.error").show();
            } else {
                $("div.error").hide();
            }
        },
        onkeyup: false,
        submitHandler: function() {
        debug:false;
            $("div.error").hide();*
alert("submit form");            what to put here to submit the form*
        },
        messages: {
            password2: {
                required: " ",
                equalTo: "Please enter the same password as above"
            },
            email: {
                required: " ",
                email: "Please enter a valid email address, example:
y...@yourdomain.com",
                remote: jQuery.format("{0} is already taken, please enter a
different address.")
            }
        },
        debug:true
    });

Reply via email to