I use jquery validate plugin to verify what user input into the field.
At the same time, I capture focusout event and action there:
$('input[type="text"]').focusout(function() {
...
});
But I don’t want to do this action when validation is not passed. How to check it there?
you can use the valid method