cucuru cucuru - 1 year ago 135
jQuery Question

validate jquery how to know it success

I have a form, and I would like to know if it validate but not submit, 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 works. How can I check if form is validate?

Answer Source

As mentioned in the above comment you've to use valid() :


Hope this helps.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download