A little bit of context:
I\'m using the jQuery Validation plugin to validate a sign-up form. I now want to implement an ajax call to check whether t
Hello i find exclusive solution, i have the same problem as 47k others & i discover the solution without other jquery plugins or libraries: -first of all we need to register our input in a variable, -then on change checkValidity() if true:mean if valid we assign the registered var to our input to rest it for next change.
ivar=$('input[name="y-i-name"]')[0];
$('input[name="y-i-name"]').on('change',function(){
if($('input[name="y-i-name"]')[0].checkValidity()){
// your custom code here!
$('input[name="y-i-name"]')[0]=ivar; // & now we rest the input for next change validation
}
});