I have a form, and I would like to know if it validates while not submitting it. I need the value.
var validation = $(idFormulario).validate({
errorClass: 'jqInvalid',
errorPlacement: function (error, element) {
return false;
},
success: function(e){
return false; //not submit
}
});
It doesn't work. How can I check if form is valid?