[jQuery] Validation callback for a single DIV validation
Hi all
I have to perform validation on a single DIV without a submit.
Also I need to catch the validation success or failure to handle them.
In all validation plugin examples I've found code like:
submitHandler: function(form) {
alert('valid');
},
invalidHandler: function(form, validator) {
alert('invalid');
}
this is not working for me, since i'm not performing a submit, I'm
just binding to the click event of a button.
Someone can help me out?
Thanks